I\'m a beginner in SpriteKit programming, and have been trying to figure out how to handle input from the keyboard.
What I\'ve found so far is that you should subcla
If you want to know whenever a key is pressed, you should subscribe to the global event manager.
[NSEvent addGlobalMonitorForEventsMatchingMask:(NSKeyDownMask) handler:^(NSEvent *event) { [NSEvent removeMonitor:event];
This will call the handler when ever a key is pressed.