NSGestureRecognizer
public extension NSGestureRecognizer
-
Block that will be invoked when a gesture recognizer is triggered.
Declaration
Swift
typealias Block = (NSGestureRecognizer) -> Void
-
Set/get the block associated with the receiver.
Warning
Setting this tonil
will clear the receiver’starget
andaction
. Seting is to a non-nil value will overwrite the receiver’starget
andaction
valuesDeclaration
Swift
var block: Block? { get set }