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 ...

Get Swift 2 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.