The delegate method textFieldDidBeginEditing: is called before the user starts typing.
> On Nov 11, 2015, at 6:04 PM, Graham Cox <[email protected]> wrote: > > I need to know when a text view becomes First Responder. I thought the > notification NSTextDidBeginEditingNotification would do it, but that’s only > sent when the user starts typing in the text view, which is too late for my > purposes. > > Is there another notification that I could use that signals a view has become > FR? I couldn’t see anything either specific to NSTextView (or NSText) or > views/responders in general. I’d prefer not to have to use a text view > subclass if possible, though if that’s the only way so be it. > > —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/dave.fernandes%40utoronto.ca > > This email sent to [email protected] _______________________________________________ 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]
