O'Reilly logo

Learning Objective-C by Developing iPhone Games by Amy M. Booker, Joseph D. Walters

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

Programming basics

Every programming language uses specific ways of storing and distributing information through the code. These examples translate to nearly every programming language and are not necessarily restricted to the Objective-C language. All of this information is entered into a standard text file and is read in with the compiler. Xcode has its own standard text editor which is built into the IDE that actually helps you type in the correct code. Let's begin by talking about the different types of data used in code.

Basic data types

Everything in your software is made up of various types of data such as text and numbers; these are conveniently called data types. These data types are stored in containers called variables. You can assign ...

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