• 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
Unknown class ‘MyCustomView', using 'NSView' instead
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Unknown class ‘MyCustomView', using 'NSView' instead
      • From: Roland King <email@hidden>
  • Prev by Date: [JOB] Looking for Mac Cocoa dev in Montréal, Canada
  • Next by Date: NSSlider atop an image on OS 10.10
  • Previous by thread: [JOB] Looking for Mac Cocoa dev in Montréal, Canada
  • Next by thread: Re: Unknown class ‘MyCustomView', using 'NSView' instead
  • Index(es):
    • Date
    • Thread