Re: predefined macro iOS vs OS X
Re: predefined macro iOS vs OS X
- Subject: Re: predefined macro iOS vs OS X
- From: Kyle Sluder <email@hidden>
- Date: Sat, 17 Aug 2013 17:05:28 -0400
On Aug 17, 2013, at 4:52 PM, Clark Smith Cox III <email@hidden> wrote:
> On Aug 16, 2013, at 10:04, Kyle Sluder <email@hidden> wrote:
>
>> Stop using NSRect in your method prototypes and just use CGRect.
>
> Or just define NS_BUILD_32_LIKE_64. Doing so will cause NSRect to be defined as a typedef for CGRect.
Gerriet still needs to use CGRect in his APIs because he's compiling them for both iOS and Mac.
And as the name implies, NS_BUILD_32_LIKE_64 is unnecessary if you're not targeting 32-bit OS X.
--Kyle Sluder
_______________________________________________
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