Instance Method


Updates the event’s data with the current information in the Calendar database.


func refresh() -> Bool

Return Value

If the event was successfully refreshed, true; otherwise, false.


You should call this method only on events that your application is editing, and only when your application receives the EKEventStoreChanged notification. If this method returns false, the event has been deleted or otherwise invalidated, and you should not continue to use it.

This method does not replace the values of any properties that you have modified.

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