Contents

suppressionButton

The alert’s suppression checkbox.

Declaration

var suppressionButton: NSButton? { get }

Discussion

If you want to customize an alert’s suppression checkbox, access it via this property and then use the methods of the NSButton class. For example, you can do this to change the suppression checkbox’s default message, or to change its initial selection state (which is “unselected” by default). For a code example, see the showsSuppressionButton property.

See Also

Displaying Alerts