Inherits from NSObject
Conforms to UIApplicationDelegate
Declared in TKAppDelegate.h

Overview

This class allocates a TKWindow instance and provides a convience method for application launching.

Tasks

Other Methods

  • – application:commonInitializationLaunching:

    This is a convience method for setup of the initial app state. Apple recommends placing initialization of application:willFinishLaunchingWithOptions (instead of didFinish) for iOS 6 despite its absence in previous versions of iOS. Subclassing the method will take care of that recommendation automatically. The UIWindow for the application is allocated and setup just before this method is called. The default implementation does nothing.

  • – applicationDidStartup:

    This is a convience method for placing any functionality that might be called upon initial launch of the application and any subsequent relaunch from a background state. Default implementation does nothing.

Properties

  •   window

    Returns the application main window.

    property

Properties

window

Returns the application main window.

@property (nonatomic, strong) UIWindow *window

Discussion

Returns the application main window.

Declared In

TKAppDelegate.h

Instance Methods

application:commonInitializationLaunching:

This is a convience method for setup of the initial app state. Apple recommends placing initialization of application:willFinishLaunchingWithOptions (instead of didFinish) for iOS 6 despite its absence in previous versions of iOS. Subclassing the method will take care of that recommendation automatically. The UIWindow for the application is allocated and setup just before this method is called. The default implementation does nothing.

- (void)application:(UIApplication *)application commonInitializationLaunching:(NSDictionary *)launchOptions

Parameters

application

The application instance.

launchOptions

The launch options.

Discussion

This is a convience method for setup of the initial app state. Apple recommends placing initialization of application:willFinishLaunchingWithOptions (instead of didFinish) for iOS 6 despite its absence in previous versions of iOS. Subclassing the method will take care of that recommendation automatically. The UIWindow for the application is allocated and setup just before this method is called. The default implementation does nothing.

Declared In

TKAppDelegate.h

applicationDidStartup:

This is a convience method for placing any functionality that might be called upon initial launch of the application and any subsequent relaunch from a background state. Default implementation does nothing.

- (void)applicationDidStartup:(UIApplication *)application

Parameters

application

The application instance.

Discussion

This is a convience method for placing any functionality that might be called upon initial launch of the application and any subsequent relaunch from a background state. Default implementation does nothing.

Declared In

TKAppDelegate.h