A template image for showing a search field or for initiating a search.
SDKs
- macOS 10.12.2+
- Mac Catalyst 13.0+
Framework
- App
Kit
Declaration
class let touchBarSearchTemplateName: String
Discussion
Template image for search

Touch Bar template images are exclusively for use in NSTouch
objects and not in onscreen windows.
Use template images for your NSTouch
images because, in the Touch Bar, template images respond automatically to system white-point changes.