Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Swift By Example
  • Table Of Contents Toc
  • Feedback & Rating feedback
Swift By Example

Swift By Example

By : Giordano Scalzo
4 (2)
close
close
Swift By Example

Swift By Example

4 (2)
By: Giordano Scalzo

Overview of this book

This book is intended for those who want to learn to develop apps in Swift the right way. Whether you are an expert Objective-C programmer or new to this platform, you'll learn quickly, grasping the code of real-world apps to use Swift effectively. Prior experience in development for Apple devices would be helpful, but is not mandatory.
Table of Contents (10 chapters)
close
close

Chapter 2. 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 by 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 app. One of the many ways to show content in an iOS app is by using UICollectionView, which is a component that lays the subcomponents as a flow of cell. A good introduction to UICollectionView can be found at http://nshipster.com/uicollectionview/.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Swift By Example
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon