Overview
At this point, we have progressed quite some distance into SwiftUI. To round out our learning, let’s work through Chapter 11, Working with Navigation UI and Navigation Bar Customization, Chapter 12, Playing with Modal Views, Floating Buttons and Alerts, and Chapter 13, Building a Form with Picker, Toggle and Stepper.
Key Takeaways
- Chapter 11:
NavigationStack(formerlyNavigationView) combined withNavigationLinkenables push navigation between screens;.navigationTitle()sets the bar label. - Chapter 12:
.sheet()presents modal (overlay) views;.alert()handles pop-up prompts; floating buttons are built withZStackand overlay modifiers. - Chapter 13:
Form,Picker,Toggle, andStepperare SwiftUI’s native input controls — they automatically adopt system styling on iOS. - Together, these three chapters give you the vocabulary to build complete, multi-screen apps with navigation, modals, and rich user input controls.