Base SDK and deployment target Q
Base SDK and deployment target Q
- Subject: Base SDK and deployment target Q
- From: Lorenzo Thurman <email@hidden>
- Date: Sat, 27 Jun 2009 20:34:06 -0500
I have a program which needs to run under 10.4, but I used a method that
is only defined for 10.5. No biggie, it was easy enough to replace it
with something that works for 10.4. The problem is that I didn't find
this out until I ran the app under 10.4. My apps deployment target is
set to 10.4, and the base SDK is set for 10.5. My question is:
If I inadvertently use a 10.5 only method, is there a way for me to be
warned at compile time? I know I can use define's to use what's
appropriate for a given target, but what if I overlook the fact that a
method is only for 10.5? is there a compiler switch or something that I
can enable to tell me this?
Thanks
--
"My break-dancing days are over, but there's always the funky chicken"
--The Full Monty
_______________________________________________
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