Contents

updateCurrentSelection(to:from:in:)

Indicates the point where the text interaction gesture changes.

Declaration

func updateCurrentSelection(to point: CGPoint, from gestureType: BEGestureType, in state: UIGestureRecognizer.State)

Parameters

  • point:

    The new location of the gesture.

  • gestureType:

    The type of gesture the system tracks.

  • state:

    The state of the gesture.

Mentioned in

Discussion

In your implementation of this method, notify the system that your app handles the change by calling selectionChangedWithGesture(at:gesture:state:flags:).

See Also

Managing selection