Search code examples
cocoapreprocessor-directiveosx-yosemite

Analog to __IPHONE_8_0 for OS X 10.10


What's the analog to #ifdef __IPHONE_8_0 for OS X 10.10?

I've RTM/STFI, enough at least.


Solution

  • #ifdef __MAC_10_10

    The #defines for the OS versions are in Availability.h.