title: How do you associate a NIB file with a custom NSView class?
body: <p>I have a custom <code>myCustomNSView</code> class. I have also created a nib file for it.  How do i link the two together so that i can instantiate the myCustomNSView class and add it as a subview of some other view?  The answer provided by <a href="https://stackoverflow.com/questions/5056219/uiview-and-initwithframe-and-a-nib-file-how-can-i-get-the-nib-file-loaded/5056886#5056886">this question</a> is perfect except, I am working with OSX not iOS. </p>
  
  <p>Looking at <a href="https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSBundle_AppKitAdditions/Reference/Reference.html#//apple_ref/doc/uid/20000401-CJBGDIFB" rel="nofollow noreferrer">Apple's documentation</a> i see the following:</p>
  
  <p><img src="https://i.stack.imgur.com/crvC5.png" alt="enter image description here"></p>
  
  <p>How can this be done for OSX?</p>