On 17 Aug 2013, at 00:04, Kyle Sluder <k...@ksluder.com> wrote: > On Aug 16, 2013, at 12:41 PM, "Gerriet M. Denkmann" <gerr...@mdenkmann.de> > wrote: > >> >> On 16 Aug 2013, at 22:59, Kyle Sluder <k...@ksluder.com> wrote: >> >>> >>> Xcode does know this. But if you're building for 32-bit OS X, it will >>> correctly complain. >> >> When I build for Mac OS X CGRect is accepted. >> But when I build for iOS then NSRect creates "Use of undeclared identifier >> "NSRect" did you mean "NSSet"" > > Stop using NSRect in your method prototypes and just use CGRect.
Excellent idea. I have just starting doing this and already my code looks much better - many ifdef could be eliminated. Thanks a lot! Kind regards, Gerriet. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com