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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -