Instance Method

removeAlarm(_:)

Removes an alarm from the calendar item.

Declaration

func removeAlarm(_ alarm: EKAlarm)

Parameters

alarm

The alarm to be removed.

See Also

Adding and Removing Alarms

var hasAlarms: Bool

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

func addAlarm(EKAlarm)

Adds an alarm to the receiver.

var alarms: [EKAlarm]?

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