• 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
Re: Using newer APIs and deprecated APIs for older releases...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Using newer APIs and deprecated APIs for older releases...
      • From: August Hahn <email@hidden>
References: 
 >Using newer APIs and deprecated APIs for older releases... (From: Chas Spillar <email@hidden>)

  • Prev by Date: Re: How does NSFontPanel work?
  • Next by Date: Re: NSManagedObjects at Launch
  • Previous by thread: Using newer APIs and deprecated APIs for older releases...
  • Next by thread: Re: Using newer APIs and deprecated APIs for older releases...
  • Index(es):
    • Date
    • Thread