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

Chapter 3. A Memory Game in Swift

After learning the fundamental parts of the language and getting a basic introduction to creating a simple app with Xcode, it's now time to build something more complex, but still using the basics from the previous chapter. This chapter aims to show you how to structure an app, creating clean and simple code, and how to make it appealing to the user with nice colors and smooth animations.

Compared to the previous chapter, this chapter is more advanced because I think the best way to learn new concepts is to see them in a real, working app. One of the many ways to show content in an iOS app is using the UICollectionView class, which is a component that lays the subcomponents as a flow of cell. A good introduction ...

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