• 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: Recommended way of checking OS version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recommended way of checking OS version


  • Subject: Re: Recommended way of checking OS version
  • From: Jason Bobier <email@hidden>
  • Date: Wed, 06 Aug 2008 17:52:44 -0700

Cool. I was wondering how they would get it to work with 10.4.11, but then noticed that they added specific gestalts for major, minor, and bug fix in 10.4.

Thanks,

Jason

On Aug 6, 2008, at 5:46 PM, Nick Zitzmann wrote:


On Aug 6, 2008, at 6:37 PM, Jason Bobier wrote:

Hey folks, does anyone know the recommended way of checking whether my app is running on Tiger or Leopard? It used to be that you could just check that appkit version against one of the #defines, but apple appears to have stopped updating them. At least 10.3.5 is the latest that I see.

Is Gestalt really the way?


Yes; Gestalt() works just fine and is even present in the 64-bit API.

Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________

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: 
 >Recommended way of checking OS version (From: Jason Bobier <email@hidden>)
 >Re: Recommended way of checking OS version (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Recommended way of checking OS version
  • Next by Date: Re: Command Line Argument - Choosing a Style
  • Previous by thread: Re: Recommended way of checking OS version
  • Next by thread: Re: Recommended way of checking OS version
  • Index(es):
    • Date
    • Thread