Contents

init(title:image:target:action:)

Creates a standard push button with a title and image.

Declaration

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

Parameters

  • title:

    The localized title string to display on the button.

  • image:

    The image to display in the body of the button.

  • target:

    The target object that receives action messages from the button.

  • action:

    The action message the button sends to the target.

See Also

Creating standard buttons