I got tried of the compiler telling me that .onChange(of:)
was deprecated, so I thought, find, I'll simply stub it out for the older versions. Only... I can't seem to do that? I can use @available(macOS 14, *)
to build for that and later, but is there any way to do the opposite? (I'd hoped there was a #if available
support, but there isn't.)
Is there an opposite of @available?
Add a Comment