Re: Weak-linking a class

2010-06-27 Thread Ken Ferry
See also < http://www.sealiesoftware.com/blog/archive/2009/09/09/objc_explain_Weak-import_classes.html >. -Ken On Sun, Jun 27, 2010 at 7:02 AM, Graham Cox wrote: > > On 27/06/2010, at 11:55 PM, Andy Lee wrote: > > > NSClassFromString()? Or maybe some objc_xxx runtime function? > > > > --Andy >

Re: Weak-linking a class

2010-06-27 Thread Graham Cox
On 27/06/2010, at 11:55 PM, Andy Lee wrote: > NSClassFromString()? Or maybe some objc_xxx runtime function? > > --Andy D'oh, of course. Just tired... ;-) --Graham ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r

Re: Weak-linking a class

2010-06-27 Thread Andy Lee
NSClassFromString()? Or maybe some objc_xxx runtime function? --Andy On Jun 27, 2010, at 9:50 AM, Graham Cox wrote: > How do I test for the existence of a Cocoa class at runtime that could be > absent on an earlier system? > > The situation is that I want to use NSCache instead of NSMutableD