Chapter 4: Creating a Detail Page
So far, you have managed to build an app that shows a set of contacts on a custom grid in a collection view. This is pretty impressive but not very useful. Typically, a user will expect to be able to see more information when tapping on an item in an overview.
In this case, they would likely expect to see more details about the tapped contact, for instance, their email address and phone number. In this chapter, you will see how to do just that.
We'll also be introduced to UIStackView for the first time too, a comprehensive and powerful way to lay out a display without the need for over-complex autolayout solutions.
Finally, we'll touch on the best practices when it comes to passing data from one view controller ...
Get Mastering iOS 14 Programming - Fourth Edition 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.