We have just finished the development of this avocado recipe app. How cool is that? It’s time to see the settings form in action in the live preview.
Turn on and off the toggle button to see how SwiftUI show and hide animate automatically the second section of the form with a built-in animation.
All right, let’s test the app on a real device or in the simulator. I hope that you enjoyed this gentle introduction to the SwiftUI forms.
Let’s play with the tab navigation bar or the horizontal scrolling views. You can tap on the recipes card and see how the detail view of the avocado recipe shows up in a new model view.
I would strongly recommend you to build and launch the app onto an iPad as well. You will notice that this iOS app works like a charm on the bigger screens as well.
At the end of this class, I would like to thank you for your hard work! Hopefully, you still love coding with SwiftUI and you’re eager to start to build the next app with me in the next class.
Until then, happy coding!