I've got a SpriteKit game running on the Mac, and I want to bring up a NSViewController over it, so I do this:
self = [super initWithNibName:@"Settings-Mac" bundle:nil ];
[gGameViewController.view addSubview:self.view];
According to the debugger, all is well, but I never see the ViewController. However, if I do this it works:
gGameWindow.contentView = self.view;
That little hack to make the ViewController appear eventually causes a crash as I just forced the SpriteKit view out in a very abrupt way.
Any ideas why nothing shows up with addSubview? My -viewDidLoad is being called, and all of the pointers in the self object look legit.