• 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: Determining OS version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining OS version


  • Subject: Re: Determining OS version
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 18 Oct 2005 12:05:18 -0400
  • Organization: Rogue Research

On 2005-10-18 08:35, Paul J. Lucas said:

>	I've seen other applications check the contents of the file:
>
>		/System/Library/CoreServices/SystemVersion.plist
>
>	and look at the ProductVersion string.  Is this the best way to
>	check the version of Mac OS X that's running?  If not, what is?

Not so good... who's to say that file will exist in the future?  Better
to use an API.  Like Gestalt or NSAppKitVersionNumber.  But it depends
WHY you need to know this info...

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Determining OS version (From: "Paul J. Lucas" <email@hidden>)

  • Prev by Date: Custom View instances share variables - Not Nice - Why?
  • Next by Date: NYC Mac/Cocoa developer group
  • Previous by thread: Determining OS version
  • Next by thread: Re: Determining OS version
  • Index(es):
    • Date
    • Thread