• 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: SDK 10.6 with Target 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SDK 10.6 with Target 10.5


  • Subject: Re: SDK 10.6 with Target 10.5
  • From: Chris Hanson <email@hidden>
  • Date: Sun, 13 Mar 2011 21:34:17 -0700

On Mar 13, 2011, at 4:19 PM, Leonardo wrote:

> on Xcode 4.0, I have noticed, just accidentally, that when the Base SDK is
> set to Mac OS X 10.6 and the deployment target to 10.5, I don't get any
> alert about the use of not-available-APIs.

This is how the Base SDK and Deployment Target build settings have worked since their introduction.  The availability macros to which they’re an input don’t issue any warnings for new API that isn’t present on an older OS because that would potentially obscure other warnings.

Their intent is to enable you to write software that takes advantage of features of the most recent operating system while still being able to write code that runs on the latest operating system; you’re using them correctly.  You simply need to be aware of when you’re using newer-OS features and wrap them in runtime checks.

  -- Chris

_______________________________________________

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

References: 
 >SDK 10.6 with Target 10.5 (From: Leonardo <email@hidden>)

  • Prev by Date: Re: kqueue and kevent
  • Next by Date: CALayer drawing efficiency
  • Previous by thread: SDK 10.6 with Target 10.5
  • Next by thread: CALayer drawing efficiency
  • Index(es):
    • Date
    • Thread