Inherits from UIViewController
Conforms to UIViewControllerAnimatedTransitioning
UIViewControllerTransitioningDelegate
Declared in TKAlertViewController.h

Overview

This class is a cool little alert view like view controller to subclass. You can add you message to the alertView and you call the show and hide methods just like UIAlertView.

Tasks

Properties

Displaying and hiding alert

Properties

alertView

The main view to display content on.

@property (nonatomic, strong) UIView *alertView

Discussion

The main view to display content on.

Declared In

TKAlertViewController.h

Instance Methods

hide

Hide the alert

- (void)hide

Discussion

Hide the alert

Declared In

TKAlertViewController.h

hideAlertView:

Overwrite this function to implement your own dismissal animation.

- (void)hideAlertView:(id<UIViewControllerContextTransitioning>)transitionContext

Parameters

transitionContext

The transition context.

Discussion

Overwrite this function to implement your own dismissal animation.

Declared In

TKAlertViewController.h

show

Show the alert

- (void)show

Discussion

Show the alert

Declared In

TKAlertViewController.h

showAlertView:

Overwrite this function to implement your own presentation animation.

- (void)showAlertView:(id<UIViewControllerContextTransitioning>)transitionContext

Parameters

transitionContext

The transition context.

Discussion

Overwrite this function to implement your own presentation animation.

Declared In

TKAlertViewController.h