Contents

init(title:target:action:)

Creates a standard push button with the title you specify.

Declaration

convenience init(title: String, target: Any?, action: Selector?)

Parameters

  • title:

    The localized title string to display on the button.

  • target:

    The target object that receives action messages from the control.

  • action:

    The action message the button sends to the target.

See Also

Creating standard buttons