Day 99
Day 99 ๊ด๋ จ
Project 19, part 4
Now that our app is finished itโs time to take on some challenges to help solidify your knowledge, then take a quick test to make sure you remember what you learned.
Although the first two challenges are fairly easy this time, I think youโll find the third one more taxing. Hopefully youโve built up some firm resilience over the last 99 days of work, but even then I hope you remember itโs OK to fail โ as the Spanish writer Jose Bergamin said, โto be ready to fail is to be prepared for success.โ
Today you should work through the wrap up chapter for project 19, complete its review, then work through all three of its challenges.
SnowSeeker: Wrap up
SnowSeeker: Wrap up
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 an improved way of formatting lists in text. It also gave you the chance to practice lots of core skills, such as handling Codable
, creating scrolling 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.
Review what you learned
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.
Click here to review what you learned in this project.
Challenge
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.
- Add a photo credit over the
ResortView
image. The data is already loaded from the JSON for this purpose, so you just need to make it look good in the UI. - Fill in the loading and saving methods for
Favorites
. - For a real challenge, let the user sort the resorts in
ContentView
either using the default order, alphabetical order, or country order.
SnowSeeker: Wrap up - Additional