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???
-
-
@peternlewis I suppose “sw_vers -productVersion” is a little better than parsing SystemVersion.plist but too bad about Gestalt.0 replies 0 retweets 1 like -
@mjtsai@peternlewis No doubt if you file a radar, the response will be "applications don't need to know the system version". :-(0 replies 0 retweets 0 likes -
@siegel@mjtsai@peternlewis [[NSProcessInfo processInfo] operatingSystemVersionString] is non-deprecated, though "not OK for parsing".0 replies 0 retweets 1 like -
@rbrockerhoff@siegel@mjtsai@peternlewis I think it's better to take the approach web developers use: check for classes & methods instead…0 replies 0 retweets 0 likes
@chockenberry The fact that a method exists doesn’t mean that (a) it’s public in that version of the OS or (b) it works.
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.
Michael Tsai
Lich Bleach-Skull
Rainer Brockerhoff
Count Franken