Contents

outlineView(_:shouldTypeSelectFor:withCurrentSearch:)

Returns a Boolean value that indicates whether type select should proceed for a given event and search string.

Declaration

@MainActor optional func outlineView(_ outlineView: NSOutlineView, shouldTypeSelectFor event: NSEvent, withCurrentSearch searchString: String?) -> Bool

Parameters

  • outlineView:

    The outline view that sent the message.

  • event:

    The event that caused the message to be sent.

  • searchString:

    The string for which searching is to proceed. The search string is nil if no type select has begun.

Return Value

true if type select should proceed, otherwise false.

Discussion

Generally, this method will be called from keyDown(with:) and the event will be a key event.

See Also

Supporting Type Select