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

Finding out OS version


  • Subject: Finding out OS version
  • From: Tim Hewett <email@hidden>
  • Date: Mon, 9 Jun 2003 11:45:44 +0100

Hello,

I need to modify my software to work under 10.1 as well as 10.2.
At the moment it crashes under 10.1 as it uses the promised files
API, which 10.1 doesn't appear to support.

I'd prefer not to have a separate build for each OS, it would be
better for the program to detect it is using 10.1 and so disable
the features making use of promised files, but having searched
the Cocoa help documentation I can't find a way to do it. The
NSProcessInfo class has a method to return the OS version
string but the documentation specifically states that it is not
suitable for parsing...

Anyone else hit this problem? Is there some method hidden
away somewhere which gives the OS version in a format which
software can use for decision making?

Regards,

Tim Hewett.
_______________________________________________
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: Finding out OS version
      • From: Lloyd Dupont <email@hidden>
    • Re: Finding out OS version
      • From: Nick Zitzmann <email@hidden>
    • Re: Finding out OS version
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: Using Grab Services
  • Next by Date: Serious AddressBook framework problems
  • Previous by thread: Re: Using Grab Services
  • Next by thread: Re: Finding out OS version
  • Index(es):
    • Date
    • Thread