Conforms to NSObject
Declared in TKAlert.h

Overview

The delegate of a TKAlert object must adopt the TKAlertDelegate protocol.

Instance Methods

alert:buttonForAction:

Returns the UIButton object for the specified TKAlertAction.

- (UIButton *__nonnull)alert:(TKAlert *__nonnull)alert buttonForAction:(TKAlertAction *__nonnull)action

Parameters

alert

The TKAlert object.

action

The concrete action.

Declared In

TKAlert.h

alert:didDismissWithAction:

This method is called after TKAlert has been dismissed.

- (void)alert:(TKAlert *__nonnull)alert didDismissWithAction:(TKAlertAction *__nonnull)action

Parameters

alert

The TKAlert object.

action

The action that dismissed the alert.

Declared In

TKAlert.h

alertDidDismiss:

This method is called after TKAlert was dismissed.

- (void)alertDidDismiss:(TKAlert *__nonnull)alert

Parameters

alert

The TKAlert object.

Declared In

TKAlert.h

alertDidShow:

Called after TKAlert has been shown.

- (void)alertDidShow:(TKAlert *__nonnull)alert

Parameters

alert

The TKAlert object.

Declared In

TKAlert.h

alertWillDismiss:

Called before TKAlert is dismissed.

- (void)alertWillDismiss:(TKAlert *__nonnull)alert

Parameters

alert

The TKAlert object.

Declared In

TKAlert.h

alertWillShow:

Called before TKAlert is shown.

- (void)alertWillShow:(TKAlert *__nonnull)alert

Parameters

alert

The TKAlert object.

Declared In

TKAlert.h