• 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 and custom search menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSearchField and custom search menu


  • Subject: NSSearchField and custom search menu
  • From: Massimiliano Origgi <email@hidden>
  • Date: Fri, 28 Oct 2005 13:16:01 +0200

Hello,
I post here before possibly submitting a bug report.

I have a custom search menu with some items as search categories.
I have bound their value attribute to keys in the current selection of an array controller so that their state is recorded and restored as needed.
The problem is that the binding does not work. I have checked it and have added observers and the result is that the bound value is not updated when the user selects the menu item and the item state isn't updated too. It works if I go through the traditional action method and update the state manually.
Also trying to bind other keys such as the title fails too, the binding is completely ignored.


So apparently the search field is playing with the menu and removing the bindings (at least it changes the menu font as well as updates the search list).
Or it makes a copy of the menu unlike what the docs say.


Has anyone else noticed this?

Thanks!

Massimiliano Origgi
	http://www.intuiware.com
		Coming Soon...

_______________________________________________
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: Multi line text input control with scrollable?
  • Next by Date: Re: How to find out if horizontal scrollbar in WebView is currently active or not
  • Previous by thread: Multi line text input control with scrollable?
  • Next by thread: how start default dvd player?
  • Index(es):
    • Date
    • Thread