Chapter    15

Cocos2d and UIKit Views

For most iOS developers there’s a clear dividing line: if you want to program “regular” apps with no or little multimedia content, you’ll be using Cocoa Touch and its UIKit framework to create the iPhone’s and iPad’s native user interfaces.

But if you want to develop iOS games and multimedia applications, you want to use cocos2d and have little incentive to use anything but CCSprite and CCMenu to create your game’s scenes and user interfaces.

A great number of developers are experienced only in either environment, and they often find it confusing to cross the border from Cocoa Touch to cocos2d and vice versa. In almost all these cases, the programmers want to combine the best of both worlds, leveraging their ...

Get Learn cocos2d 2: Game Development for iOS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.