I want to display a calendar with a set of dates marked (It reflects all the reservations a user has scheduled in a month on my application).
I'm trying to do that without creating a calendar component or importing a library. So, here I'm using the DatePicker
component from SwiftUI with this configuration:
DatePicker(
"",
selection: $date,
displayedComponents: [.date])
.datePickerStyle(GraphicalDatePickerStyle())
It's possible to fill this calendar with all the days reserved on my data layer?
What I want is something similar to what the Calendar app does: