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 tonilwill clear the receiver’stargetandaction. Seting is to a non-nil value will overwrite the receiver’stargetandactionvaluesDeclaration
Swift
var block: Block? { get set }
View on GitHub
Install in Dash
NSGestureRecognizer Extension Reference