This wasn’t a particularly complicated project, but it still taught new skills such as split view layouts, optional alerts, layout with transparent groups, and even
ListFormatter. It also gave you the chance to practice lots of core skills, such as handling
Codable, creating lists, and more.
This kind of app is really good as a template, because it’s the kind of thing you can use again and again in the future just by varying the kind of content you feed into it. Template apps – as well as the techniques underlying them – are the “bread and butter” of iOS apps: the kind of thing that is never going to set the world on fire, but also so fundamentally useful and common that you can’t do without them.
Anyone can sit through a tutorial, but it takes actual work to remember what was taught. It’s my job to make sure you take as much from these tutorials as possible, so I’ve prepared a short review to help you check your learning.
One of the best ways to learn is to write your own code as often as possible, so here are three ways you should try extending this app to make sure you fully understand what’s going on.
ResortViewimage. The data is already loaded from the JSON for this purpose, so you just need to make it look good in the UI.
ContentView. For sorting use default, alphabetical, and country, and for filtering let them select country, size, or price.
LEARN SWIFTUI FOR FREE I have a massive, free SwiftUI video collection on YouTube teaching you how to build complete apps with SwiftUI – check it out!