Contents

calendarItemIdentifier

The calendar item’s unique identifier.

Declaration

var calendarItemIdentifier: String { get }

Discussion

This property is set when the calendar item is created and can be used as a local identifier. Use calendarItem(withIdentifier:) to look up the item by this value.

A full sync with the calendar will lose this identifier. You should have a plan for dealing with a calendar whose identifier is no longer fetch-able by caching its other properties.

See Also

Related Documentation

Accessing Calendar Items