Cocoa NSVIew notification when the view gets the key focus? -
How can I get a notification if an NSView gets the main focus?
I hope like a method "windowDidBecomeKey" from NSDWindow but I'm either blind or nothing like NSView.
Important view, when there is one, is the first response, therefore, apply in your approach, and either Handle there or post a notification to listen for your controller.
Comments
Post a Comment