You grab or make a NSSearchField
and place it where you want in the UI. Use NSSearchFieldDelegate
methods to filter your dataset.
Personally I wouldnt place one at the top of the table in iOS style because its not a mobile device. I might place it at top right ( for Right To Left locales ) or within the window toolbar (like Finder) but it really depends what else you have within the window.