28. SwiftUI Lists and Navigation
The SwiftUI List view provides a way to present information to the user in the form of a vertical list of rows. Often the items within a list will navigate to another area of the app when tapped by the user. Behavior of this type is implemented in SwiftUI using the NavigationView and NavigationLink components.
The List view can present both static and dynamic data and may also be extended to allow for the addition, removal and reordering of row entries.
This chapter will provide an overview of the List View used in conjunction with NavigationView and NavigationLink in preparation for the tutorial in the next chapter entitled “A SwiftUI List and Navigation Tutorial”.