Chapter 5: Creating New Components and Grouping Views with Container Views
Form views are one of the best ways to get input from users. Proper implementation of forms improves the User Experience (UX) and increases the chances of retention, whereas complex or frustrating forms lead to a negative UX and low retention rates. We used forms and containers in the earlier chapters, but here we will learn additional ways of using forms.
We will also learn more about SwiftUI's TabView struct; this is similar to UIKit's UITabBarController, which provides an easy and intuitive way to present multiple views to the user while allowing them to easily navigate between each of them.
In this chapter, we will focus on grouping views using Form and TabView views. ...
Get SwiftUI Cookbook - Second 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.