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 (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/devlists%40shadowlab.org
> 
> This email sent to devli...@shadowlab.org

-- Jean-Daniel





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to