• 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
IB not recognising custom view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IB not recognising custom view


  • Subject: IB not recognising custom view
  • From: DKJ <email@hidden>
  • Date: Wed, 15 Oct 2008 17:04:10 -0700

I created MyView as a subclass of NSView. I then compiled it into a static library. I referenced both libMyView.a and MyView.h in a project. In IB I put a custom view into the main window for that project, and set its class to MyView.

There's no problem building. But when I run it, I get this error:

	Unknown class 'MyView' in nib file, using '(null)' instead.

What's wrong here?

dkj
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: IB not recognising custom view
      • From: Tommy Nordgren <email@hidden>
    • Re: IB not recognising custom view
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: preferences file in XCode 3.0 and 3.1
  • Next by Date: Re: Refactoring does not work
  • Previous by thread: Re: Project Find - Replace Fails Silently - Watch Movie!
  • Next by thread: Re: IB not recognising custom view
  • Index(es):
    • Date
    • Thread