tableView(_:shouldTypeSelectFor:withCurrentSearch:)
Asks the delegate to allow or deny type select for the specified event and current search string.
Declaration
@MainActor optional func tableView(_ tableView: NSTableView, shouldTypeSelectFor event: NSEvent, withCurrentSearch searchString: String?) -> BoolParameters
- tableView:
The table view that sent the message.
- event:
The event.
- searchString:
The search string or
nilif no type select has began.
Return Value
Discussion
Typically, this is called from the NSTableView keyDown: implementation and the event will be a key event.