NSControl
public extension NSControl
-
Block that is invoked when the control is triggered.
Declaration
Swift
typealias Block = (NSControl) -> Void
-
Get/set 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
NSControl Extension Reference