O'Reilly logo

Swift 2 By Example by Giordano Scalzo

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

Summary

In this chapter, we implemented our first complete app, beginning with using basic components and then moving on to using more advanced techniques to create a 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 learned a few things about puzzle games, and now it's 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.

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