Summary
In this brief introduction to SwiftUI, you've seen how to build a simplified version of the Let's Eat app using SwiftUI.
You started by adding and configuring SwiftUI views to create the Restaurant List screen. You then added the model objects to your app, and configured the navigation between the Restaurant List and Restaurant Detail screens. After that, you used UIKit
and SwiftUI views together by adding and configuring a map view for the Restaurant Detail screen. Finally, you created the Restaurant Detail screen and added the map view you created earlier to it.
You now know how to use SwiftUI to create an app that reads model objects, presents them in a list, and allows navigation to a second screen containing a map view. You can then implement this for your own projects.
In the next chapter, you will learn about Swift concurrency, a new way to handle asynchronous operations in Swift.