A text field control that is optimized for performing text-based searches.
- macOS 10.3+
NSSearch provides a customized text field for entering search data, a search button, a cancel button, and a pop-up icon menu for listing recent search strings and custom search categories. An
NSSearch object wraps an
NSSearch object. Access to most search field attributes occurs through the cell, which provides a more comprehensive programmatic interface for manipulating the search field. You can use an
NSSearch object though to manipulate some aspects of the search field. For additional information about search fields and how to manipulate them, see the