On Jan 30, 2008 AD, at 3:00 PM, Keith Blount wrote:
So, my question is, how do I have the preprocessor check the OS
version so that it can skip these methods in an #if #endif block if
the user is running Leopard?
You can't. You can, however, make it so that the method is only
present when Leopard is the deployment target by doing something like
this:
That way, the method will be included as long as you're targeting
Tiger, but once you change that to Leopard, then your implementation
will no longer be used.