Chapter 3. Your first real Swift code using variables

Next up: variables! You’re about to take a close-up look at variables. You’ll learn what they are, why you need them, and how to use them in your programs.

This chapter covers

  • How to make your program remember something
  • What the different types of data are and why they’re required
  • How to convert one type of data to another
  • How to do math in a program

You’re all set to cover your third milestone: writing your first real Swift code by using variables. By now, you may be ...

Get Hello Swift! 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.