Where to Go From Here?
You can download the completed version of the project by clicking Download Materials at the top or bottom of this tutorial.
Now you’ve seen several tactics for showing new views in the hierarchy based on user-generated state changes. You can combine these techniques with all sorts of SwiftUI concepts to make more complex layouts and view compositions. By combining conditional views with a robust layout, you can make a really special app.
To learn more about SwiftUI animations and transitions, read Getting Started with SwiftUI Animations, watch the SwiftUI Animation video course or read the book SwiftUI Apprentice.
I hope you enjoyed this introduction to SwiftUI progressive disclosures. If you have any comments or questions, feel free to join the discussion below.