creating an NSSearchField subclass like Safari
creating an NSSearchField subclass like Safari
- Subject: creating an NSSearchField subclass like Safari
- From: Neil Allain <email@hidden>
- Date: Fri, 5 Feb 2010 09:27:18 -0600
I'm looking to create an NSSearchField that behaves like the one in safari. Primarily I want the following:
- search menu includes search matches (Suggestions) as well as recent searches
- search menu opens when the user enters text that has possible matches (rather than just when the button is clicked)
- search menu will update the matches while the user continues to type
- can change focus from the text view to the menu and back with the arrow keys
Honestly, it looks scary to me (but then, I'm easily scared), and my searches for something that already does some/all of this have turned up nothing. Does anybody know of an existing implementation that does at least some of what I want?
Thanks,
Neil
_______________________________________________
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