Follow along at https://www.hackingwithswift.com/100/swiftui/56.
This day covers Part Four of Project 11: Bookworm
in the 100 Days of SwiftUI Challenge. (Project 11 files can be found in the directory for Part One.)
In addition to recapping the material covered during the project's other days, Day 56 focuses on extending the project according to a set of challenges.
Use a default genre for new books when they're being added by the user.
Modify the books list view so that books rated as 1 star have their name shown in red.
- 🔗 Commit
Add a new “date” attribute to the Book entity, assigning Date() to it so it gets the current date and time, then format that nicely somewhere in DetailView.
- 🔗 Commit