Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
iOS 9 Game development Essentials

You're reading from   iOS 9 Game development Essentials Design, build, and publish an iOS game from scratch using the stunning features of iOS 9

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher
ISBN-13 9781784391430
Length 224 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Chuck Gaffney Chuck Gaffney
Author Profile Icon Chuck Gaffney
Chuck Gaffney
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. The Swift Programming Language 2. Structuring and Planning a Game Using iOS 9 Storyboards and Segues FREE CHAPTER 3. SpriteKit and 2D Game Design 4. SceneKit and 3D Game Design 5. GameplayKit 6. Exhibit the Metal in Your Game 7. Publishing Our iOS Game 8. The Future of iOS Game Development Index

Model-View-Controller

Before we get into storyboards in iOS 9, it's best that we first discuss the basic flow of an iOS app and the concept of Model-View-Controller (MVC). Model-View-Controller is an architectural paradigm used in software engineering, programming, and even now in web design. We can think of the model portion of MVC as the logic or brains of an application's behavior. This logic is usually independent of the user interface and determines what to do with the app's data.

We've actually already gone over the model portion of MVC! The Swift programming language discussed in the previous chapter is that model; this is the case with its Objective-C predecessor and any other programming language used in iOS or any other game development. Your game's code controls what to do with the player, level, and enemy/goal data.

The view portion of MVC is the visual representation of the model. This of course would include the numerous visual aspects of our games...

You have been reading a chapter from
iOS 9 Game development Essentials
Published in: Nov 2015
Publisher:
ISBN-13: 9781784391430
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime