Instance Method

addAlarm(_:)

Adds an alarm to the receiver.

Declaration

func addAlarm(_ alarm: EKAlarm)

Parameters

alarm

The alarm to be added.

See Also

Adding and Removing Alarms

var hasAlarms: Bool

A Boolean value that indicates whether the calendar item has alarms.

func removeAlarm(EKAlarm)

Removes an alarm from the calendar item.

var alarms: [EKAlarm]?

The alarms associated with the calendar item, as an array of EKAlarm objects.