Letting the user mark favorites – SnowSeeker SwiftUI Tutorial 12/12

Download the completed project here: https://github.com/twostraws/hackingw... Other parts in Project 19: Introduction: https://www.hackingwithswift.com/book... 1. Working with two side by side views in SwiftUI:    • Working with two side by side views in Swi...   2. Using alert() and sheet() with optionals:    • Using alert() and sheet() with optionals –...   3. Using groups as transparent layout containers:    • Using groups as transparent layout contain...   4. Making a SwiftUI view searchable:    • Making a SwiftUI view searchable – SnowSee...   5. Sharing @Observable objects through SwiftUI's environment:    • Sharing @Observable objects through SwiftU...   6. Building a primary list of items:    • Building a primary list of items – SnowSee...   7. Presenting a default detail view on iPad:    • Presenting a default detail view on iPad –...   8. Creating a detail view for resorts:    • Creating a detail view for resorts – SnowS...   9. Searching for data in a List:    • Searching for data in a List – SnowSeeker ...   10. Changing a view’s layout in response to size classes:    • Changing a view’s layout in response to si...   11. Binding an alert to an optional string:    • Binding an alert to an optional string – S...   12. Letting the user mark favorites: This video Wrap up and challenges: https://www.hackingwithswift.com/book... You can find the full set of videos, along with transcriptions, challenges, tests, and more, in my free 100 Days of SwiftUI course: https://www.hackingwithswift.com/100/... Watch the full 100 Days of SwiftUI playlist here:    • Understanding the basic structure of a Swi...