Contents

setDefaultButtonTitle(_:)

Customizes the title of the default button.

Declaration

func setDefaultButtonTitle(_ title: String!)

Parameters

  • title:

    The new title for the default button. The default title for this button is “OK”.

Discussion

The default button dismisses the sheet or panel and returns a value of NSOKButton.

See Also

Customizing the Appearance of the Sheet or Panel