Im currently fiddling around with Mac OS Libs NSSearchfield class and find it in general very easy to use.
I have the user input a search string into it to update a list of possible matches, updated live, delayed by a revocable timer. This works great.
I have a menu item added to the list of recent searches and can process it when the user selects it. Great as well.
Not satisfying: I cannot find a way to call a method when the user selects a recent search which is then displayed immediately in the NSSearchfield. None of the edit events is triggered, and menu action event is only triggered when one of my own menu additions is called, not by selecting a recent search. I played a bit with the Lib definitions, but Im obviously not experienced enough with all that declaration stuff.
Do you have any ideas?