O'Reilly logo

iOS Game Programming with Xcode and Cocos2d by Justin Dike

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2

Objective-C Basics

 

 

 

If you've never programmed anything before, you'll have a tougher road ahead than many readers, but that doesn't mean you can't begin right here. If terms like variables, if statements, while loops, and methods sound familiar to you, then you can probably skim or skip this chapter. Objective-C does have a unique, fun way of writing methods (or functions), so even if you have past programming experience you should pay attention to that section if you don't know the Objective-C way of doing things.

Check Yourself, Before You Wreck Yourself

image

Section 1

Variables

So you decided not to skip this chapter, eh? ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required