• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
importing NSView subclass from library?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: 32 bytes limit in IE for local files?
  • Next by Date: Re: Carbon vs Cocoa
  • Previous by thread: Re: Invoking Webbrowser within Help HTML
  • Next by thread: Palettes that float above someone else's window
  • Index(es):
    • Date
    • Thread