Hi, I have a project I'm working on which needs to run on 10.5 and 10.6. I have various things enabled or disabled using:
if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_5) ... but I also have some places in my code where I want to use a CAShapeLayer subclass in 10.6 and an alternate version based on NSViews in 10.5. My logic says it is not going to call the CAShapeLayer, but it appears that it has been linked in to the application anyway, so when I try to run the program on 10.5, it gives me the error: dyld: Symbol not found: _OBJC_CLASS_$_CAShapeLayer What is the proper way to handle situations where a whole class is missing in the earlier SDK like this? The documentation doesn't seem to address this scenario as far as I can see. Thanks Ken_______________________________________________ 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 arch...@mail-archive.com