init(time:repeats:)
Creates an alarm that fires at a specific time.
Declaration
init(time: Alarm.Schedule.Relative.Time, repeats: Alarm.Schedule.Relative.Recurrence = .never)Parameters
- time:
The time at which the alarm will alert.
- repeats:
The cadence at which the alarm repeats, if any.