Book Image

Swift by Example

By : Giordano Scalzo
Book Image

Swift by Example

By: Giordano Scalzo

Overview of this book

Table of Contents (15 chapters)

Summary


In this chapter, we implemented our first complete app, beginning with using basic components, and then moving on to use more advanced techniques to create smooth animation, without relying on game frameworks such as Cocos2d or SpriteKit.

We saw when, and how, to use structs in an effective way, and how to split responsibilities among different classes. Moreover, we experimented and saw how to separate different parts of the same class using extensions, and how to design an interface of a class or struct, pretending we have already implemented it.

You have learned a few things about puzzle games, and it's now time to move on to something different, but more similar to a normal app we'll have a chance to work on—a TodoList app.