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

operatingSystemVersionString replacement


  • Subject: operatingSystemVersionString replacement
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Fri, 25 Oct 2013 10:49:45 +0700

The documentation tells me that NSProcessInfo operatingSystemVersionString "is human readable, localized, and is appropriate for displaying to the user. This string is not appropriate for parsing."

Ok. So what do I use for parsing?

like: if ( current_os_x_version < 10.9 ) then do something...

Once there was Gestalt, but this is deprecated since 10.8.

Gerriet.


_______________________________________________

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


  • Follow-Ups:
    • Re: operatingSystemVersionString replacement
      • From: "Gary L. Wade" <email@hidden>
    • Re: operatingSystemVersionString replacement
      • From: Greg Parker <email@hidden>
  • Prev by Date: Re: NSTextField, maximum string length, bindings and NSFormatter
  • Next by Date: Re: operatingSystemVersionString replacement
  • Previous by thread: [SOLVED] Re: Spotlight importer don't work anymore under Mavericks (sandbox error)
  • Next by thread: Re: operatingSystemVersionString replacement
  • Index(es):
    • Date
    • Thread