Chapter 4. Favorite Things
This chapter will introduce you to the concept of variables and constants. It will cover how we use them to manage state in an iOS application. We will take what you've learned in the last chapter in working with print
statements and build upon that to help you understand the problem that is solved using variables and constants.
The topics this chapter covers are as follows:
Creating variables and constants
Assigning a value to a variable
Reading a value from a variable