Simon Trewhella
Simon Trewhella

Reputation: 2484

AppDelegate not available in class list

I'm trying to use UIKit in a cocos2d game by following Ray Wenderlichs tutorial: How To Integrate Cocos2D and UIKit

However I'm stuck at this point:

Then, select the new Object, go to the Identity Inspector, and set the Class to AppDelegate.

The AppDelegate class doesn't appear as an option in the class list in the Identity Inspector, even though all my custom classes do. Can anyone tell me what I'm missing here?

Upvotes: 1

Views: 72

Answers (2)

Simon Trewhella
Simon Trewhella

Reputation: 2484

Found the answer in another post: Not able to add appdelegate in object /// cocos 2d uikit integration

Use AppController instead of AppDelegate

Upvotes: 2

sunkehappy
sunkehappy

Reputation: 9101

I have answered similar question. Just restart XCode can walk you out that. But this way does not always work. You can have a try. Wish you luck.

Also you can just type that in to have a try.

Upvotes: 0

Related Questions