Contents

init(duration:)

Creates a duration event with the specified time duration.

Declaration

init(duration: TimeInterval)

Parameters

  • duration:

    The duration before the event ends, specified in seconds.

Return Value

An initialized duration event.