• 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: cross development, missing methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cross development, missing methods


  • Subject: Re: cross development, missing methods
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 8 Oct 2008 04:26:31 -0500

On Oct 7, 2008, at 11:19 AM, Robert Nikander wrote:

I was hoping I could get the compiler to warn me about these things. Is there a compiler flag that helps? Or should I forget about the "Deployment Target" build setting and create multiple targets or projects that use different SDKs?

Create a new build settings configuration for testing for such symbols. In your real deployment configuration, continue to use the 10.5 SDK and the 10.3 deployment target. However, in your testing configuration set the SDK to 10.3 as well. This will cause either warnings or errors for stuff that wasn't implemented on 10.3. As you find each, modify the code to work in the case where the new API isn't available (-respondsToSelector:, etc.).


Cheers,
Ken

_______________________________________________

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: 
 >cross development, missing methods (From: Robert Nikander <email@hidden>)

  • Prev by Date: Re: CoreData: Fetching object with maximum of property
  • Next by Date: Re: Conditional mouseDownCanMoveWindow for NSView?
  • Previous by thread: Re: cross development, missing methods
  • Next by thread: Appropriate use of bindings?
  • Index(es):
    • Date
    • Thread