title: How do I use AppKit elements in a OS X SpriteKit game?
body: <p>I'm trying to use AppKit elements like NSButtons and NSPopUpButtons in my OS X SpriteKit game. For iOS, I know you can use UIKit, but you can't use UIKit with an OS X SpriteKit game. I tried to add the button on top of the SKView, but it's not showing up. I took a look at the following post (<a href="https://stackoverflow.com/questions/24426179/using-an-nsbutton-with-spritekit">Using an NSButton with SpriteKit</a>), but it's not clear to me as to how I should proceed. How do I make all the proper connections (for the button or any other AppKit UI element) via code and/or the xib file so that it shows up in my scene?</p>
  
  <p>[EDIT] I went through the Apple SpriteKit game example ("Adventure") and it appears that they have added an NSButton to their SKView somehow.</p>