On Aug 7, 2008, at 7:07 PM, Peter N Lewis wrote:

At 8:24 AM -0700 7/8/08, Chris Hanson wrote:
If you build with the Mac OS X 10.5 SDK, you should be able to use NSMakeCollectable since it's declared as an inline function.

The earliest release of Mac OS X you're targeting is a function of the Mac OS X Deployment Target build setting, not the SDK.

That's true, but its not safe to do so.

For example, that will allow kCGBlendModeCopy to be used, even though its not available in 10.4.

It is as safe as it ever was. You just need to put in checks for what OS you're running on around places you use functionality from the newer release(s).

Where it gets complex is trying to message or (even more so) subclass new 10.5 classes in code that also needs to run on 10.4.

  -- Chris

_______________________________________________

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]

Reply via email to