Version 1.1, 2010-01-13
Upgraded to support 10.5 SDK, code fixes as result of user feedback, some code-reformatting.
(Full Revision History)
Mac OS X 10.6 or later
Mac OS X 10.5 or later
"SearchField" is a Cocoa application that demonstrates how to use a special text control called "NSSearchField". This is the control that is used in the popular Apple applications like Safari, iTunes, Mail, etc. This sample explains the details involved in overriding the list of key words to search as well as customizing the recent searches menu built into the control's cell.