In this project we’re going to build an app that lets the user build a private list of places on the map that they intend to visit one day, add a description for that place, look up interesting places that are nearby, and save it all to the iOS storage for later.
To make all that work will mean leveraging some skills you’ve met already, such as forms, sheets,
URLSession, but also teach you some new skills: how to embed maps in a SwiftUI app, how to store private data safely so that only an authenticated user can access it, how to load and save data outside of
UserDefaults, and more.
So, lots to learn and another great app to make! There is some bad news, though: embedding maps in SwiftUI means using coordinators. Yes, those coordinators.
Anyway, let’s get started with our techniques: create a new iOS project using the Single View App template, and name it BucketList. And now on to our techniques…
SPONSORED ViRE offers discoverable way of working with regex. It provides really readable regex experience, code complete & cheat sheet, unit tests, powerful replace system, step-by-step search & replace, regex visual scheme, regex history & playground. ViRE is available on Mac & iPad.
Link copied to your pasteboard.