Re: Base SDK 10.6 deployment target 10.5 - symbol not found

2011-01-11 Thread Kenneth Baxter
Thanks for that link Kyle, from that reference it appears that it is not possible to weak link classes in MacOS X, so the only way to use my subclasses of CAShapeLayer would be to move them all to a separate bundle and only load that bundle when running on 10.6.  Something I wondered about was

Re: Base SDK 10.6 deployment target 10.5 - symbol not found

2011-01-11 Thread Kyle Sluder
On Tue, Jan 11, 2011 at 10:40 AM, Wim Lewis wrote: > You might be able to weakly link the class, in which case dyld will not > complain but messages to CAShapeLayer will return nil. I don't remember on > which OS revs it became possible to weak link a class, though. (Weak linking > C symbols ha

Re: Base SDK 10.6 deployment target 10.5 - symbol not found

2011-01-11 Thread Wim Lewis
On 10 Jan 2011, at 11:42 PM, Kenneth Baxter wrote: > 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

Base SDK 10.6 deployment target 10.5 - symbol not found

2011-01-10 Thread Kenneth Baxter
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 alternat