> On 12 Nov 2015, at 10:14 AM, Ken Thomases <[email protected]> wrote:
> 
> You can either use a subclass of NSTextView and override its 
> -becomeFirstResponder method or you can use KVO to observe the firstResponder 
> property of the window and, each time it changes, check if it's your text 
> view.


Thanks - I suspected it might be another subclass case. The KVO idea sounds 
feasible as well, I’ll look into that.

—Graham



_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to