• 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: NSPredicateEditor Continuous updating failes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSPredicateEditor Continuous updating failes (From: Florian Soenens <email@hidden>)

  • Prev by Date: Re: NSDrawNinePartImage autorelease problem
  • Next by Date: Re: initialize a store with default data core data
  • Previous by thread: NSPredicateEditor Continuous updating failes
  • Next by thread: NSRulerView and inches
  • Index(es):
    • Date
    • Thread