I'm trying to run a custom SKView inside a NSView.
When the parent NSView is downcasted to an SKView and the SKScene is loaded inside that, then there's no problem. It's like starting a new SpriteKit project for macOS:
But when I create a new NSView inside that parent NSView and I downcast that view to an SKView and preset the SKScene in that view, the view is all weird and wrong:
My storyboard setup looks like this:
But this is only on my MacbookPro from 2011. On my 2015 Retina MacbookPro, this doesn't happen. My MacbookPro from 2011 has an NVIDIA card, that's the only difference I can spot. I'm running El Capitan on both MacbooksPros.
Does anybody know what's going on?
Thanks! Sam