In this chapter, we refreshed our knowledge of the default data structures array, dictionary, and set. We understood how to model real data and present it in using UICollectionView. We saw a working example in a playground and we created a single view which shows a list of cities and countries in an iOS app. In the end, we decided to add search functionality to this single screen.
After reading this chapter, you will have a deeper understanding of OOP and data structures. Each structure should be used when certain constraints are met. There are many other structures that may fit better when solving a particular problem. The best solution is to explore the problem and then pick the best match.
In the next two chapters, we will apply what we have learned so far. Namely, we will implement a small weather app, which consumes data from a public API, visualizes it in a nice...