• 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
Custom view and framework bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom view and framework bug


  • Subject: Custom view and framework bug
  • From: Don Willems <email@hidden>
  • Date: Tue, 19 Oct 2004 23:28:53 +0200

Hi,

I have created a framework with a custom view.
In the framework project I have an extra target for a testing application. To test the custom view I've added the framework to the application target, and I added the custom view header file (contained in the framework) to the nib file (with Read Files... in IB). I added a custom view to the window and set its custom class to my custom view class.
If I then build the test application and run it I get the following error:

Unknown class 'INKDrawView' in nib file, using `NSView' instead.

I can use my custom classes defined in the framework with no problem, including the custom view class, only the nib file gives problems.

Stupid thing is, if I create a >>separate<< project for the test application and add the framework to the project and the header file to IB as above, everything works fine?

What is going wrong here???

Don

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

This email sent to email@hidden
  • Follow-Ups:
    • Re: Custom view and framework bug
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Cocoa-dev Digest, Vol 1, Issue 162
  • Next by Date: Bindings questions on "ToDos" sample code.
  • Previous by thread: Re: Expanding lists
  • Next by thread: Re: Custom view and framework bug
  • Index(es):
    • Date
    • Thread