Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Day 99: Project 19: PadFinder (Part Four)

Follow along at https://www.hackingwithswift.com/100/swiftui/99.


📒 Field Notes

This day covers Part Four of Project 19 in the 100 Days of SwiftUI Challenge. (Project 19 files can be found in the directory for Part One.)

In addition to recapping the material covered during the project's other days, Day 67 focuses on extending the project according to a set of challenges.


🥅 Challenges

Challenge 1

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.

Given that I'm using MKMapSnapshotter snapshots as a sort of "detail image view", this would be a good opportunity to overlay an annotation image to mark the center point.

Challenge 2

Fill in the loading and saving methods for Favorites.

  • The @UserDefault property wrapper takes care of this nicely.

Challenge 3

For a real challenge, let the user sort and filter the resorts in ContentView. For sorting use default, alphabetical, and country, and for filtering let them select country, size, or price.

📸 Screenshots