TypeSelection for NSTableControlMBS

I want to add type selection to NSTableControlMBS like in Finder. When I type something into a Finder window then the first file with the name of the string I typed is selected.

There are the Events TypeSelectString, ShouldTypeSelectForEvent and nextTypeSelectMatchFromRow. But how do the events work? I probably have to do a keydown for the typed text. Then I use ShouldTypeSelectForEvent? The docs say about this event:

Typically, this is called from the table view keyDown implementation and the event will be a key event.