• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tips to deploy applications to multiple Mac OS X versions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Tips to deploy applications to multiple Mac OS X versions (From: Lorenzo Bevilacqua <email@hidden>)
 >Re: Tips to deploy applications to multiple Mac OS X versions (From: David Duncan <email@hidden>)
 >Re: Tips to deploy applications to multiple Mac OS X versions (From: Ben Lachman <email@hidden>)
 >Re: Tips to deploy applications to multiple Mac OS X versions (From: Steve Christensen <email@hidden>)
 >Re: Tips to deploy applications to multiple Mac OS X versions (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: Making use of Core 2 features without 64bit addressing
  • Next by Date: Re: Highlight color of a NSTableView row
  • Previous by thread: Re: Tips to deploy applications to multiple Mac OS X versions
  • Next by thread: Re: Tips to deploy applications to multiple Mac OS X versions
  • Index(es):
    • Date
    • Thread