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

Chapter 3. iPhone Game Development Basics – The Matching Game

In this chapter, we will be talking about setting up multiple screens in iOS and how to transition from screen to screen. We will be writing our first game, a simple matching or memory game, and we will have a brief discussion of the Apple Framework's code libraries.

In this chapter, we will be covering the following topics:

  • Understanding storyboards
  • The memory game code
  • The frameworks
  • Building our game scene

Scenes and views

We played around with storyboards in the previous chapter. In this chapter, we are going a little more in depth by showing you how views and scenes work together. Let's start with a new project using our standard Single View Application. We will call this one MemoryGame ...

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