Re: What to use instead of operatingSystemVersionString
Re: What to use instead of operatingSystemVersionString
- Subject: Re: What to use instead of operatingSystemVersionString
- From: Jean-Daniel Dupas <email@hidden>
- Date: Fri, 24 Feb 2012 16:11:35 +0100
Le 24 févr. 2012 à 07:56, Gerriet M. Denkmann a écrit :
> The documentation says of NSProcessInfo operatingSystemVersionString:
> "This string is not appropriate for parsing". But if fails to mention what to use instead.
>
> So what should I use? Gestalt? Or is there some more convenient Cocoa alternative?
>
> (I need this info for a bug workaround which occurs only in 10.6.)
>
A bug in what framework.
Each framework provide constants and a version global to help you determine the version.
kCFCoreFoundationVersionNumber, NSFoundationVersionNumber , NSAppKitVersionNumber, NSCoreDataVersionNumber, …
>
> Kind regards,
>
> 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
-- Jean-Daniel
_______________________________________________
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