Re: Checking OS Version with Cocoa
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.