Summary
In this brief introduction to SwiftUI, you’ve seen how to build a simplified version of the JRNL app using SwiftUI.
You started by adding and configuring SwiftUI views to create the Journal List screen. You then added the model objects to your app and configured the navigation between the Journal List and Journal Entry Detail screens. After that, you used MapKit to build a map view for the Journal Entry Detail screen. Finally, you created the Journal Entry Detail screen and added to it the map view you created earlier.
You now know how to use SwiftUI to create an app that reads model objects, presents them in a list, and enables navigation to a second screen containing a map view. You are now able to implement this in your own projects.
If you wish to learn more about SwiftUI, you can refer to Apple’s Develop in Swift tutorials here:
https://developer.apple.com/tutorials/develop-in-swift
Packt Publishing also has a book on SwiftUI...