Instance Method

updateRecurrence(_:completionHandler:)

Updates the recurrence interval.

Declaration

func updateRecurrence(_ recurrence: DateComponents?, completionHandler completion: @escaping (Error?) -> Void)

Parameters

recurrence

The new recurrence interval.

completion

The block executed after the request is processed.

error

nil on success; otherwise, error object indicating the reason for failure.

Discussion

See recurrence for a discussion of how the recurrence value is used.

See Also

Using Recurrence

var recurrence: DateComponents?

The interval on which to repeat firing the trigger.

var recurrenceCalendar: Calendar?

The calendar in which the recurrence value is evaluated.