NSControl

public extension NSControl

Public Types

  • Block that is invoked when the control is triggered.

    Declaration

    Swift

    typealias Block = (NSControl) -> Void

Public Properties

  • Get/set the block associated with the receiver.

    Warning

    Setting this to nil will clear the receiver’s target and action. Seting is to a non-nil value will overwrite the receiver’s target and action values

    Declaration

    Swift

    var block: Block? { get set }

Public Functions