I need to get a Date object set for tomorrow at a certain time. I can figure out how to change the date to tomorrow but not how to set the time. Here is my function:
func getTomorrowAt(hour: Int, minutes: Int) -> Date {
let calendar = Calendar.current
var date = calendar.date(byAdding: .day, value: 1, to: Date())
// here I need to set the time to hour:minutes
return date!
}