In this chapter, we will begin with a short introduction of the primary collection types—array, set, and dictionary. Then, we learn how to visually present a collection. Finally, we will finish with a real application that displays information using a list. In the implementation, we will use OOP and protocols to handle the visualization of the data in an elegant fashion.
In this chapter, we will cover the following topics:
- Primary collection types
- List of items in a playground
- Table view in iOS app
- Protocols