Re: Issuing NSTextField action message
Re: Issuing NSTextField action message
- Subject: Re: Issuing NSTextField action message
- From: Carl Hoefs <email@hidden>
- Date: Wed, 20 Aug 2014 12:35:50 -0700
On Aug 20, 2014, at 12:33 PM, Kyle Sluder <email@hidden> wrote:
> On Wed, Aug 20, 2014, at 02:27 PM, Carl Hoefs wrote:
>> I do have -controlTextDidChange: set up, and it does get invoked on every
>> keystroke typed into the textfields, but how do I then cause the
>> textfield’s action method to be issued?
>> -Carl
>
> You don't. You're already getting notified at the right time; just call
> the right method yourself.
>
Which method? I have a KVO setup that does everything already, but it requires the Action be sent by the textfield. How can I do that from within -controlTextDidChange:? Otherwise nothing happens until a Return is pressed.
-Carl
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden