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

Popular posts from this blog

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -

gtk - Python Window Resize -

c# - read full xml file data over tcp -