So, create a custom NSViewController
subclass with xib/nib.
Then in the app's main nib, add an NSViewController
object from the object library, set the class to the custom view controller class.
Create IBOutlet
in the app delegate for the custom view controller.
Add an NSView
object to the window.
Set the view controller's view to the NSView
in the window.
When I build & run, the view is the generic view in the main nib, not the one from the view controller's nib...
What else is needed to get this process to work as I think it should? I would think this should populate the view (and any subviews) from the custom view controller's nib.
I know how to do this in code, but it sure seems like boiler plate. (especially with the addition of auto layout constraints.)
Please tell me I am missing something stupidly obvious.