On Mar 12, 2015, at 11:04:55, Patrick J. Collins 
<patr...@collinatorstudios.com> wrote:
> 
> I hooked up an action from IB to my view controller, but I don't see an
> option for where to define what kind of action it is...  So my problem
> is events are only being fired when a textfield stops being edited.  I
> would like it to fire anytime a key is pressed,  What is the best way to
> do this currently?

I'm not aware of a way to do that. Have you tried subclassing NSTextfield and 
overriding keyDown, and calling the action handler from there?

--
Steve Mills
Drummer, Mac geek


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to