Re: NSPredicateEditor Continuous updating failes
Re: NSPredicateEditor Continuous updating failes
- Subject: Re: NSPredicateEditor Continuous updating failes
- From: Jim Turner <email@hidden>
- Date: Thu, 21 Jan 2010 08:21:05 -0600
On Thu, Jan 21, 2010 at 6:00 AM, Florian Soenens <email@hidden> wrote:
> Hi LIst,
>
> i set up an NSPredicateEditor and got it all working fine except that it
> only executes when i hit enter or tab out of the NSTextField.
> Is there a way to let it execute everytime something changes in the
> textfield?
>
> I tried checking the "continuous" button in IB but that is impossible, it
> always unchecks itself. I also tried setting continuous programatically but
> to no avail...
>
> Anyone has any suggestions?
>
> Kind regards,
> Florian.
Add an observer for notifications of
NSControlTextDidChangeNotification. When the predicate editor updates
a text field, it'll send this notification with itself as the object
value.
--
Jim
http://nukethemfromorbit.com
_______________________________________________
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