Type Method

alarmWithRelativeOffset:

Creates and returns an alarm with a relative offset.

Declaration

+ (EKAlarm *)alarmWithRelativeOffset:(NSTimeInterval)offset;

Parameters

offset

The offset from the start of an event, at which the alarm fires.

Return Value

The created alarm.

Discussion

Negative offset values fire before the start of the event, while positive values fire after the start.

See Also

Creating an Alarm

+ alarmWithAbsoluteDate:

Creates and returns an alarm with an absolute date.