Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gestaltSystemVersion is deprecated?




On Oct 18, 2005, at 11:12 AM, John Stiles wrote:

This came up originally on Cocoa-dev. The manual pages for gestaltSystemVersion apparently recommend against its use:
file:///Developer/ADC%20Reference%20Library/documentation/Carbon/ Reference/Gestalt_Manager/gestalt_refchap/chapter_1.4_section_181.html


A better way to obtain version information in Mac OS X is to read the system version information from the following file:

/System/Library/CoreServices/SystemVersion.plist

Why is this? Gestalt seems like a simpler solution, compared to parsing a plist. I also thought that early OS X Server versions lacked this plist entirely.

That doesn't make much sense to me either. I've forwarded your question to the engineer who owns Gestalt and we'll see what he says.


-eric

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >gestaltSystemVersion is deprecated? (From: John Stiles <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.