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

A greater focus on functional programming


As of this publication, the Swift programming language is only a year old but it represents a recent paradigm shift in much of programming. Object-oriented programming and design still holds true, but a shift to functional programming is where languages such as Scala and Swift place their focus. Functional programming, in summary, is a focus on functions being pure mathematical calculations of objects with an avoidance of the state changes and mutable data that we've seen with past languages, such as C++/Java and even Apple's own Objective-C. Instead of dealing with subroutines, a function only works on the parameters it's given. Swift does this well with its closures, which we've seen a few times in this book, and are often used to compact much of the logic in game programming for iOS.

Since WWDC14, Apple has told developers that Swift is the successor to both C and Objective-C. It's a completely rebuilt language from the ground up with speed and...

lock icon The rest of the chapter is locked
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 R$50/month. Cancel anytime