Seriously? There is no non-deprecated way in 10.8 to figure out what version of Mac OS X you're on? Parse the SystemVersion.plist is it???
-
-
@skid Checking for features is sometimes problematic. Classes are sometimes exported before they are public, for example. /cc@peternlewis -
@jimcorreia@skid Also, sometimes we need to check not for features but for bugs that are known to occur in particular versions. - View other replies
-
@mjtsai@jimcorreia@peternlewis agreed. I asked around and recommendation is to keep using Gestalt until a future OS replaces it (10465563) -
@skid@mjtsai@jimcorreia according to a stackoverflow post, Apple developers at WWDC 2012 recommended the plist.http://stackoverflow.com/questions/11072804/mac-os-x-10-8-replacement-for-gestalt-for-testing-os-version-at-runtime … -
@peternlewis@mjtsai@jimcorreia given the widespread use of SystemVersion.plist, it's not likely to go away, and is what Gestalt still uses
-
-
@skid and after that, tell me how I can explain to the user what they need to do to get weak references to NSWindowController… -
@skid sure - tell me how to check whether I can use weak references for NSWindowController? -
@skid Of course, but sometimes you actually want the OS version, e.g. when helping the customer contact tech support.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Ammon Skidmore
Jim Correia
Michael Tsai