Custom view and framework bug
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