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 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 }