importing NSView subclass from library?
importing NSView subclass from library?
- Subject: importing NSView subclass from library?
- From: Garth Shoemaker <email@hidden>
- Date: Wed, 2 Oct 2002 14:09:22 -0700 (PDT)
Hello all,
I wrote a subclass of NSImageView that I use in my app. I import the .h
into Interface Builder, include the .m and .h in Project Builder,
everything works great. The thing is, I want to distribute this class as a
compiled static library, not as pure source (no .m). However, if I remove
the .m and add the .a in Project Builder I get a runtime error stating
"Unknown class 'nswarpview' in nib file, using `NSImageView'." Is it not
possible to use a class from a library in this way? Do I have to link it
some special way?
I've seen other posts dealing with this error, but none dealing
specifically with my situation (linking static libraries).
Thanks,
Garth
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.