If you manually add the prototypes, then call them, the link will
fail. That is, unless you add the prototypes and conditionally
define them weak. In which case you've just ended up doing what
the SDK does.
So, there are two ways to go about this:
1) Set both SDK and deployment target to the baseline OS.
[+] Can access functionality from all supported OS versions.
[-] You'll have to "manually" add support for functionality not
present in the baseline OS.
[+] Safer, because you get compile time warnings / errors when you
access functionality that's not available on all supported versions.
2) Set the deployment target to the baseline OS, and the SDK to the
current OS.
[+] Can access functionality from all supported OS versions.
[+] More convenient as you don't have to create your own weak
prototypes, et.c.
[-] Less safe, as you can't be sure that your code will work on
earlier OS versions unless you "manually" check for compatibility
with the baseline OS.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden
This email sent to email@hidden