Inherits from CCAppDelegate
Conforms to NSApplicationDelegate
UIApplicationDelegate
Declared in CC3DemoMashUpAppDelegate.h

Overview

App Delegate for Cocos2D v3 and above.

This makes use of the simplified start-up configuration of Cocos2D v3, and is required when using Cocos2D 3.1 and above, because Cocos2D 3.1 initialization requires that the OpenGL view (and context) is available during CCDirector initialization.

Tasks

Properties

glView

The view in which the 3D scene is displayed.

@property (strong) IBOutlet CCGLView *glView

Declared In

CC3DemoMashUpAppDelegate.h

window

The window in which the app is displayed.

@property (strong) IBOutlet NSWindow *window

Declared In

CC3DemoMashUpAppDelegate.h

Instance Methods

toggleFullScreen:

Toggles the screen between standard and full-screen.

- (IBAction)toggleFullScreen:(id)sender

Declared In

CC3DemoMashUpAppDelegate.h