Re: #if on SDK_NAME
Re: #if on SDK_NAME
- Subject: Re: #if on SDK_NAME
- From: Chris Suter <email@hidden>
- Date: Fri, 17 Jul 2009 13:52:29 +1000
Hi Chris,
On Fri, Jul 17, 2009 at 1:08 PM, Chris Espinosa<email@hidden> wrote:
> But at compile time, it is the
> latest API that your source code is written for.
> MAX_ALLOWED = the largest set of APIs your source code can take advantage of (it can't take advantage of SnowLeopard APIs, because it's not compiled against them)
Sure, I know what it means, I'm just saying it's not a great name. The
name reads as: the maximum version of OS X allowed. If it was
MAC_API_MAX_VERSION_ALLOWED it would be better, but that's still not
ideal because you could in theory use later APIs with an older SDK
(inadvisable obviously), so actually the best name, in my opinion,
would be something like SDK_VERSION.
Anyway, it's not that important and there are better things to be
arguing about. :-)
Kind regards,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden