1 Nov 2004 05:02
framework class
Hi, I am working on a little app that uses a few classes from a framework I built and regularly use with other apps. Most of the classes are happy. However, there is one, a subclass of NSImage that doesn't seem to be recognized by the new app. I checked the framework to be sure it is 'public,' though I am not getting compile errors in the code that defines the class or the #import <myFramework/RCLabeledImage.h> statement: RCLabeledImage *anImage = [ [ RCLabeledImage alloc ] initByReferencingFile:path ]; anImage is nil after this statement NSLog( <at> "% <at> ", NSStringFromClass( [ RCLabeledImage class ] ); This prints (null) If I copy the class into the little app and change the import statement, everything is fine, so the class itself works if it can be found. Does anyone any ideas on where to look to track down this problem? Thanks, Denise
RSS Feed