• 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: operatingSystemVersionString replacement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: operatingSystemVersionString replacement


  • Subject: Re: operatingSystemVersionString replacement
  • From: Greg Parker <email@hidden>
  • Date: Thu, 24 Oct 2013 23:46:05 -0700

On Oct 24, 2013, at 10:36 PM, Maxthon Chan <email@hidden> wrote:
> Well I prefer uname() as it is 1) POSIX standard, cross-platform method

If you're already working around an OS bug then it should be acceptable to use OS-specific means to do so.


>  2) more fine grained as it tells minor versions apart. (e.g. I can tell Mavericks DP4 apart from Mavericks DP7 from Mavericks GM from App Store release of Mavericks from Mavericks 10.9.1)

If you look at the documentation of NSFoundationVersionNumber and NSAppKitVersionNumber you'll see that they change in almost every release. uname() gives you a kernel version number, which similarly changes in almost every release but is not guaranteed to do so.


--
Greg Parker     email@hidden     Runtime Wrangler



_______________________________________________

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: 
 >operatingSystemVersionString replacement (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: operatingSystemVersionString replacement (From: Greg Parker <email@hidden>)
 >Re: operatingSystemVersionString replacement (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: operatingSystemVersionString replacement (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: operatingSystemVersionString replacement
  • Next by Date: Re: NSTextField, maximum string length, bindings and NSFormatter
  • Previous by thread: Re: operatingSystemVersionString replacement
  • Next by thread: Re: operatingSystemVersionString replacement
  • Index(es):
    • Date
    • Thread