Inherits from NSObject
Declared in ForgeEventListener.h
ForgeEventListener.m

Overview

Modules can extend this class and override methods to implement event listeners.

Tasks

Class Methods

application:didChangeStatusBarOrientation:

Pass through from UIApplicationDelegate

+ (void)application:(UIApplication *)application didChangeStatusBarOrientation:(UIInterfaceOrientation)oldStatusBarOrientation

Declared In

ForgeEventListener.m

application:didFailToRegisterForRemoteNotificationsWithError:

Pass through from UIApplicationDelegate

+ (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error

Declared In

ForgeEventListener.m

application:didFinishLaunchingWithOptions:

Called at the end of application:didFinishLaunchingWithOptions:

+ (void)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

Declared In

ForgeEventListener.m

application:didReceiveLocalNotification:

Pass through from UIApplicationDelegate

+ (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification

Declared In

ForgeEventListener.m

application:didReceiveRemoteNotification:

Called on application:didReceiveRemoteNotification:

+ (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo

Declared In

ForgeEventListener.m

application:didRegisterForRemoteNotificationsWithDeviceToken:

Called on application:didRegisterForRemoteNotificationsWithDeviceToken:

+ (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)newDeviceToken

Declared In

ForgeEventListener.m

application:handleOpenURL:

Called on application:handleOpenURL:

+ (NSNumber *)application:(UIApplication *)application handleOpenURL:(NSURL *)url

Discussion

Warning: Returning a value other than nil implies your module has correctly handled this event.

Declared In

ForgeEventListener.m

application:openURL:sourceApplication:annotation:

Called on application:openURL:sourceApplication:annotation:

+ (NSNumber *)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation

Discussion

Warning: Returning a value other than nil implies your module has correctly handled this event.

Declared In

ForgeEventListener.m

application:preDidFinishLaunchingWithOptions:

Called at the start of application:didFinishLaunchingWithOptions:, before the webView is created.

+ (void)application:(UIApplication *)application preDidFinishLaunchingWithOptions:(NSDictionary *)launchOptions

Declared In

ForgeEventListener.m

application:willChangeStatusBarOrientation:duration:

Pass through from UIApplicationDelegate

+ (void)application:(UIApplication *)application willChangeStatusBarOrientation:(UIInterfaceOrientation)newStatusBarOrientation duration:(NSTimeInterval)duration

Declared In

ForgeEventListener.m

application:willFinishLaunchingWithOptions:

Pass through from UIApplicationDelegate

+ (NSNumber *)application:(UIApplication *)application willFinishLaunchingWithOptions:(NSDictionary *)launchOptions

Discussion

Warning: Returning a value other than nil implies your module has correctly handled this event.

Declared In

ForgeEventListener.m

applicationDidBecomeActive:

Pass through from UIApplicationDelegate

+ (void)applicationDidBecomeActive:(UIApplication *)application

Declared In

ForgeEventListener.m

applicationDidEnterBackground:

Called on applicationDidEnterBackground:

+ (void)applicationDidEnterBackground:(UIApplication *)application

Declared In

ForgeEventListener.m

applicationDidFinishLaunching:

Pass through from UIApplicationDelegate

+ (void)applicationDidFinishLaunching:(UIApplication *)application

Declared In

ForgeEventListener.m

applicationDidReceiveMemoryWarning:

Pass through from UIApplicationDelegate

+ (void)applicationDidReceiveMemoryWarning:(UIApplication *)application

Declared In

ForgeEventListener.m

applicationIsReloading

Called when a reload update is being applied (i.e. when it is no longer safe to use the webview)

+ (void)applicationIsReloading

Declared In

ForgeEventListener.m

applicationProtectedDataDidBecomeAvailable:

Pass through from UIApplicationDelegate

+ (void)applicationProtectedDataDidBecomeAvailable:(UIApplication *)application

Declared In

ForgeEventListener.m

applicationProtectedDataWillBecomeUnavailable:

Pass through from UIApplicationDelegate

+ (void)applicationProtectedDataWillBecomeUnavailable:(UIApplication *)application

Declared In

ForgeEventListener.m

applicationSignificantTimeChange:

Pass through from UIApplicationDelegate

+ (void)applicationSignificantTimeChange:(UIApplication *)application

Declared In

ForgeEventListener.m

applicationWillEnterForeground:

Called on applicationWillEnterForeground:

+ (void)applicationWillEnterForeground:(UIApplication *)application

Declared In

ForgeEventListener.m

applicationWillResignActive:

Pass through from UIApplicationDelegate

+ (void)applicationWillResignActive:(UIApplication *)application

Declared In

ForgeEventListener.m

applicationWillResume:

Called during applicationWillEnterForeground when no reload update has been applied (i.e. application will resume as it was left)

+ (void)applicationWillResume:(UIApplication *)application

Declared In

ForgeEventListener.m

applicationWillTerminate:

Pass through from UIApplicationDelegate

+ (void)applicationWillTerminate:(UIApplication *)application

Declared In

ForgeEventListener.m

canBecomeFirstResponder

Called on canBecomeFirstResponder

+ (NSNumber *)canBecomeFirstResponder

Discussion

Warning: Returning a value other than nil implies your module has correctly handled this event.

Declared In

ForgeEventListener.m

firstWebViewLoad

Called once the initial page has been loaded

+ (void)firstWebViewLoad

Declared In

ForgeEventListener.m

preFirstWebViewLoad

Called before the initial page is loaded in the webView

+ (void)preFirstWebViewLoad

Declared In

ForgeEventListener.m

remoteControlReceivedWithEvent:

Called on remoteControlReceivedWithEvent

+ (void)remoteControlReceivedWithEvent:(UIEvent *)receivedEvent

Discussion

Warning: Returning a value other than nil implies your module has correctly handled this event.

Declared In

ForgeEventListener.m

shouldAutorotateToInterfaceOrientation:

Called on shouldAutorotateToInterfaceOrientation:

+ (NSNumber *)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation

Discussion

Warning: Returning a value other than nil implies your module has correctly handled this event.

Declared In

ForgeEventListener.m

supportedInterfaceOrientations

Called on supportedInterfaceOrientations

+ (NSNumber *)supportedInterfaceOrientations

Discussion

Warning: Returning a value other than nil implies your module has correctly handled this event.

Declared In

ForgeEventListener.m

willRotateToInterfaceOrientation:duration:

Called on willRotateToInterfaceOrientation:duration:

+ (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration

Discussion

Warning: Returning a value other than nil implies your module has correctly handled this event.

Declared In

ForgeEventListener.m