Declared in UIApplication+JOEAdditions.h

Overview

This category provides convenient methods useful for the UIApplication class.

Tasks

Managing First Launch

Instance Methods

joe_endFirstRun

It checks if it is the first run, and then sets a first run key and synchronizes the application defaults.

- (void)joe_endFirstRun

Discussion

This method should be called at some point to end the first run.

Declared In

UIApplication+JOEAdditions.h

joe_isFirstRun

Checks if it is the very first launch of an application implying a new user.

- (BOOL)joe_isFirstRun

Return Value

Returns YES if it is indeed the first launch, otherwise NO.

Declared In

UIApplication+JOEAdditions.h

joe_resetFirstRun

Checks if the first run key is present and removes it.

- (void)joe_resetFirstRun

Discussion

This method can be called by the user to bring back any intro material to view on launch.

Declared In

UIApplication+JOEAdditions.h