I am delving into macOS development and I'd like to do something simple. Give the Application Window "focus" to receive keyboard events. Meaning no text fields.
How exactly do I do this? I've been googling and have seen all kinds of things but none of them have worked out. What would be the most straightforward way of kicking off keyUp and keyDown from within my main NSViewController so I can read keys? Thanks, Eric _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com