BlocklyPanGestureRecognizerDelegate
public protocol BlocklyPanGestureRecognizerDelegate: class
The delegate protocol for BlocklyPanGestureRecognizer
.
-
The callback that’s called when the
BlocklyPanGestureRecognizer
detects a valid block pan. Note: This function returns aBlockView
, in case this function changes the view that’s passed in, typically copying the view onto a new workspace.Declaration
Swift
func blocklyPanGestureRecognizer(_ gesture: BlocklyPanGestureRecognizer,