Re: What are the best macros to use to know when compiling is for Mac OS X v.s. iOS?
Re: What are the best macros to use to know when compiling is for Mac OS X v.s. iOS?
- Subject: Re: What are the best macros to use to know when compiling is for Mac OS X v.s. iOS?
- From: Greg Parker <email@hidden>
- Date: Tue, 3 Jan 2012 14:04:20 -0800
On Dec 30, 2011, at 10:34 AM, lbland wrote:
> On Dec 30, 2011, at 1:16 PM, Conrad Shultz wrote:
>
>> http://developer.apple.com/library/mac/#documentation/developertools/conceptual/cross_development/Using/using.html
>
> So...
>
> __MAC_OS_X_VERSION_MAX_ALLOWED
>
> is better than:
>
> TARGET_OS_IPHONE
Both will work. Personally, I prefer the TargetConditionals version because it also provides macros for iOS simulator and device.
http://www.sealiesoftware.com/blog/archive/2010/8/16/TargetConditionalsh.html
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden