Contents

selectionManagerWillBeginSelection(_:)

Tells the delegate that a selection gesture is about to begin.

Declaration

optional func selectionManagerWillBeginSelection(_ selectionManager: NSTextSelectionManager)

Parameters

  • selectionManager:

    The selection manager that is about to begin selection.

Discussion

The selection manager calls this method after selectionManager:shouldBeginSelectionAtPoint: returns YES (or if that method isn’t implemented) and before any selection changes are made.