CCAppDelegate Class Reference
Inherits from | NSObject |
---|---|
Conforms to | CCDirectorDelegate UIApplicationDelegate |
Declared in | CCAppDelegate.h |
Overview
Most Cocos2d apps should override the CCAppDelegate, it serves as the app’s starting point and provides a CCNavigationController.
At the very least the startScene
method should be overridden to return the first scene the app should display.
To further customize the behavior of Cocos2D, such as the screen mode of pixel format, override the setupCocos2dWithOptions:
method.