• 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: Checking OS Version with Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking OS Version with Cocoa


  • Subject: Re: Checking OS Version with Cocoa
  • From: "Jean-Olivier Lanctôt-D." <email@hidden>
  • Date: Sat, 4 Jan 2003 17:15:37 -0500

Hello,

There is a tutorial for this on cocoadevcentral.com
Basically you can check the AppKit version number ( see cocoadevcentral.com )
or you can just init a dictionary with the SystemVersion PLIST at
/System/Library/CoreServices/SystemVersion.plist
and extract the version.

The second method also gives you the Build ID ( e.g.: 6G30 ). Just open the PLIST and see for yourself.

I hope this helps ;)

On Saturday, January 4, 2003, at 04:56 PM, Chad Armstrong wrote:

Is there a way to check a machine's OS version using Cocoa? I've searched through some books, the web, and even these archives and didn't find anything right off hand. I've seen some Carbon code in doing this, but not Cocoa.

Chad Armstrong
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



-- Jean-Olivier
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Checking OS Version with Cocoa
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: Checking OS Version with Cocoa
  • Next by Date: Re: NSOutlineView -> Reloading ALL data
  • Previous by thread: Re: Checking OS Version with Cocoa
  • Next by thread: Re: Checking OS Version with Cocoa
  • Index(es):
    • Date
    • Thread