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.


This sample requires OS X 10.4 or higher.