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???
@jimcorreia @skid Also, sometimes we need to check not for features but for bugs that are known to occur in particular versions.
-
-
@mjtsai@jimcorreia@peternlewis avoid deprecation warnings with#pragma GCC diagnostic push http://shortText.com/UPC1PDU7MLw -
@skid Thanks.
-
-
-
@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
-
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