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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]