Unknown class ‘MyCustomView', using 'NSView' instead
Unknown class ‘MyCustomView', using 'NSView' instead
- Subject: Unknown class ‘MyCustomView', using 'NSView' instead
- From: Erwin Namal <email@hidden>
- Date: Sat, 21 Feb 2015 23:03:57 +0100
Dear All,
I am currently moving some of my app’s code out in a static library. I have subclasses of NSViewController and their nib.
Searching on the net I fond a way to deal with the nibs, by adding a bundle target in the library for all the .xib files and importing the bundle as a resource in my app.
Then, I can open the bundle and load the nibs.
Now, when I do that, I get the following error in the console :
> Unknown class ‘MyCustomView', using 'NSView' instead. Encountered in Interface Builder file at path . . . .
How can I fix it ?
Thanks for your help
– E
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden