Re: compiling app for 10.6 and 10.7
Re: compiling app for 10.6 and 10.7
- Subject: Re: compiling app for 10.6 and 10.7
- From: David Duncan <email@hidden>
- Date: Mon, 15 Aug 2011 11:13:49 -0700
On Aug 15, 2011, at 10:56 AM, Martin Hewitson wrote:
> Is it ok to declare a property to be NSPopover, even if that class doesn't exist on 10.6?
Yes. Using a class as a data type doesn't create linkage.
> I tried the
>
> if ([NSPopover class]) {}
>
> trick, but I get the same error when running on 10.6.8. I'll try some more in case I made a mistake, but….
But again, are you building with Clang? :).
--
David Duncan
_______________________________________________
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