Re: Implementing Full Screen for 10.7 but app should also run on 10.6
Re: Implementing Full Screen for 10.7 but app should also run on 10.6
- Subject: Re: Implementing Full Screen for 10.7 but app should also run on 10.6
- From: Jens Alfke <email@hidden>
- Date: Mon, 14 Nov 2011 10:03:41 -0800
On Nov 14, 2011, at 7:15 AM, Koen van der Drift wrote:
> I'd like my application to use the full screen feature on 10.7, but
> the app should also run on 10.6 I tried adding
> NSWindowCollectionBehaviorFullScreenPrimary for my main window, but
> got an error since I am building agains 10.6 SDK.
I believe you are supposed to build with the SDK for the *highest* system version your app will run on; in this case 10.7. Then you’ll have access to the declarations you need. (Just set the “deployment version” to 10.6 so Xcode will know not to depend on 10.7.)
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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