• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Issuing NSTextField action message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Issuing NSTextField action message
      • From: Kyle Sluder <email@hidden>
References: 
 >Issuing NSTextField action message (From: Carl Hoefs <email@hidden>)
 >Re: Issuing NSTextField action message (From: Ken Thomases <email@hidden>)
 >Re: Issuing NSTextField action message (From: Carl Hoefs <email@hidden>)
 >Re: Issuing NSTextField action message (From: Kyle Sluder <email@hidden>)
 >Re: Issuing NSTextField action message (From: Carl Hoefs <email@hidden>)
 >Re: Issuing NSTextField action message (From: Kyle Sluder <email@hidden>)
 >Re: Issuing NSTextField action message (From: Carl Hoefs <email@hidden>)
 >Re: Issuing NSTextField action message (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Issuing NSTextField action message
  • Next by Date: Good way to have default relationship to override nil?
  • Previous by thread: Re: Issuing NSTextField action message
  • Next by thread: Re: Issuing NSTextField action message
  • Index(es):
    • Date
    • Thread