what's the right define to use for 10.5/10.6 differentiation
what's the right define to use for 10.5/10.6 differentiation
- Subject: what's the right define to use for 10.5/10.6 differentiation
- From: Roland King <email@hidden>
- Date: Wed, 30 Dec 2009 21:40:38 +0800
I have a library I'm building for iPhone and OSX (and thanks for the tips about building different targets for different architectures, I've had much more success since I posted a couple of weeks ago about that).
10.6 is much more formal about protocols so for instance I need my objects to implement NSNetServiceDelegate for that build, but those protocols aren't in 10.5 or the iPhone OS, so I have small compatibility header which defines the protocols for iPhone (and also deals with a couple of other differences).
I have this in the header file to pick out when I'm building for iPhone
#if TARGET_IPHONE_SIMULATOR | TARGET_OS_IPHONE
but I can't figure out what to check for to disambiguate between 10.5 and 10.6. I have wandered around the documentation, tried a few likely searches, and looked in some header files to see if I can find something but I've not found what I'm looking for. If there is a documentation link I've missed please feel free to point me to it. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden