Instance Property

delegate

The alert’s delegate.

Declaration

@property(weak) id<NSAlertDelegate> delegate;

Discussion

To set a delegate for the alert, provide an object conforming to the NSAlertDelegateprotocol to this property. To remove the delegate, set this property’s value to nil.

See Also

Configuring Alerts

- layout

Specifies that the alert must do immediate layout instead of lazily just before display.

alertStyle

Indicates the alert’s severity level.

accessoryView

The alert’s accessory view.

showsHelp

Specifies whether the alert has a help button.

helpAnchor

The alert’s HTML help anchor.