I tried for a really, really long time to implement backward compatibility (and was even impressed with things I came up with) but Apple makes it incredibly hard. Certain hard boundaries can be crossed, e.g. some point where the compiler/runtime support changes. At a certain point you are looking at practically two implementations if you want the same code to not look somewhat antiquated on newer systems UI-wise, too. And of course, Xcode just starts outright refusing to compile which means you might need older Xcode versions and even older hardware.
The worst part is that for every 5 cool things they add, they do at least one really stupid annoying new thing on macOS that makes using newer systems annoying.
For example, if there is one thing I recommend everyone do right now, is set this on newer macOS:
`NSAlertMetricsGatheringEnabled = 0`
It completely removes the majority of those stupid iOS-style alert boxes and returns them to the older sane layout.
I tried for a really, really long time to implement backward compatibility (and was even impressed with things I came up with) but Apple makes it incredibly hard. Certain hard boundaries can be crossed, e.g. some point where the compiler/runtime support changes. At a certain point you are looking at practically two implementations if you want the same code to not look somewhat antiquated on newer systems UI-wise, too. And of course, Xcode just starts outright refusing to compile which means you might need older Xcode versions and even older hardware.
The worst part is that for every 5 cool things they add, they do at least one really stupid annoying new thing on macOS that makes using newer systems annoying.
For example, if there is one thing I recommend everyone do right now, is set this on newer macOS:
`NSAlertMetricsGatheringEnabled = 0`
It completely removes the majority of those stupid iOS-style alert boxes and returns them to the older sane layout.