Chapter 7. Knitting variables into arrays and dictionaries

In chapter 3, I introduced the concept of variables to you, and now is the time to put them all together and use them in different ways: in arrays and dictionaries.

This chapter covers

  • What arrays and dictionaries are, and why you need them
  • How to store data in an array or a dictionary
  • How to use this data
  • How to add, delete, and modify your data
  • How to loop through an array or dictionary

You’ve reached milestone 7, knitting variables into arrays and dictionaries. ...

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.