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.
In the next chapter, you will learn about WidgetKit, which lets you build interactive widgets for your app.
Learn more on Discord
To join the Discord community for this book – where you can share feedback,...