Instance Property


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


var hasAlarms: Bool { get }


If true, the calendar item has alarms; otherwise it does not.

See Also

Adding and Removing Alarms

func addAlarm(EKAlarm)

Adds an alarm to the receiver.

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software