• 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
NSSearchField with bindings: how to get notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSearchField with bindings: how to get notifications


  • Subject: NSSearchField with bindings: how to get notifications
  • From: Romain Brestac <email@hidden>
  • Date: Fri, 23 Jun 2006 11:36:51 +0200

Hello,

I have a NSSearchField using the multi-values predicate binding: predicate, predicate2, predicate3 are bound to the filterPredicate of an ArrayController.

I would like to be notified when a menu item changes its state so I set the delegate of the searchMenuTemplate of the NSSearchFieldCell to my controller object.
I tried to get back the notification in - (void)itemChanged:(id <NSMenuItem>)anObject but nothing happens.


Does anybody know why and how I can get the menu item selection when using bindings ? Thanks.

Romain.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: encoding/decoding mutable array
  • Next by Date: Converting from Unicode UTF-16 to 8bit MacCyrillic
  • Previous by thread: Re: encoding/decoding mutable array
  • Next by thread: Converting from Unicode UTF-16 to 8bit MacCyrillic
  • Index(es):
    • Date
    • Thread