24 points · by octopus · 14y ago · 23 comments
I just tried and it works. Also search for "Objective-C Feature Availability Index" in the docs.
Mike Ash goes into some detail on his excellent blog: http://www.mikeash.com/pyblog/friday-qa-2012-06-22-objective...
Long story short, some of it is compile time, but some of it involves classes in Foundation (like NSArray and NSDictionary) implementing new methods (like objectAtIndexedSubscript).
iOS needs a base SDK update before those methods will be available there. Or you could monkey-patch them in with a category yourself in the meantime.
https://developer.apple.com/downloads/index.action
and now I have in my path clang 4.0!
Kudos to Apple for the self-contained command-line tools package download. Hopefully that'll continue with another update for 10.8.