Chapter 8: Building a Simple Detail View
Often in iOS development, table views or collection views just give a brief summary of the presented items. To figure out all the details of the shown items, the user has to select an item so that they can be redirected to the details. In the details view, the user can often interact with the shown item.
For example, in a mail app, the summary only shows the sender, the subject, and the first few lines of the mail. To read the complete mail and to answer it, the user has to open it in the details view.
In this chapter, we will build the details view for our to-do items. The chapter is structured as follows:
- Adding labels, a button, and a map
- Filling in the data
- Checking the to-do item
We start by adding ...
Get Test-Driven iOS Development with Swift - 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.