• 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: How to ensure minimum version requirement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to ensure minimum version requirement


  • Subject: Re: How to ensure minimum version requirement
  • From: Tommy Nordgren <email@hidden>
  • Date: Thu, 8 Nov 2007 15:07:00 +0100


On 8 nov 2007, at 10.09, Andre Schnoor wrote:

Hi all,

although I digged the docs and googled a while, I could not seem to find any proposed way for determining the MacOS X version number (at runtime) from inside a Cocoa application. Maybe I missed something, but IMHO this is a very basic information that should be easily available somewhere.

Where can version information be gathered? Is there a better way to ensure that an application will refuse to run on older versions of OSX, issueing a warning to the user?

Thanks in advance.
Andre



You can use the Carbon function Gestalt to find out this.
------
What is a woman that you forsake her, and the hearth fire and the home acre,
to go with the old grey Widow Maker. --Kipling, harp song of the Dane women
Tommy Nordgren
email@hidden




_______________________________________________

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: 
 >How to ensure minimum version requirement (From: Andre Schnoor <email@hidden>)

  • Prev by Date: Swapping contents of windows from nibs
  • Next by Date: [NSHost currentHost] halts app for 2s on Leopard
  • Previous by thread: Re: How to ensure minimum version requirement
  • Next by thread: Re: How to ensure minimum version requirement
  • Index(es):
    • Date
    • Thread