iOS 12 Programming for Beginners
上QQ阅读APP看书,第一时间看更新

Digging into Collections

In the last couple of chapters, we reviewed the basics of Swift to get you warmed up. Before we start building our app, we need to look at one more programming concept—collections. In Swift, we have three primary collection types, which we will cover in this chapter:

  • Arrays
  • Dictionaries
  • Sets

We will dig deeper into each one, but we will start with the most common collection type—arrays.