Re: Using newer APIs and deprecated APIs for older releases...
Re: Using newer APIs and deprecated APIs for older releases...
- Subject: Re: Using newer APIs and deprecated APIs for older releases...
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 3 Jan 2006 14:26:22 -0700
On Jan 3, 2006, at 2:18 PM, Chas Spillar wrote:
In the pre-carbon days we would use Gestalt() for these kinds of
things and the Apple position was to not check for OS, but check for
features.
In the 10.x world, and specifically in Cocoa, what is the correct
way to do
this.
I'd still recommend using Gestalt() to query for the OS version and
make the decision using the result. I think there's a tech note
floating around out there that suggests checking the system version
property list file, but since that file is an implementation detail,
I wouldn't recommend relying on that.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden