Re: Tips to deploy applications to multiple Mac OS X versions
Re: Tips to deploy applications to multiple Mac OS X versions
- Subject: Re: Tips to deploy applications to multiple Mac OS X versions
- From: Ben Lachman <email@hidden>
- Date: Thu, 10 Apr 2008 19:56:15 -0400
On Apr 10, 2008, at 6:19 PM, Chris Suter wrote:
One caveat, though, is that you should probably have a runtime
check for the minimum OS version you expect so that you don't end
up with a crash if someone tries to use your nifty Leopard
features on Tiger. Adding something to main() would probably be
easiest, either checking against NSAppKitVersionNumber or calling
Gestalt() to get the OS version.
There's something you can put in the Info.plist that does this for
free. I forget exactly what it is but I'm sure it's easily found.
LSMinimumSystemVersion is the key.
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
email@hidden
740.590.0009
_______________________________________________
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