Duration
open class Duration: Equatable
Duration** is a simple base-class, not intended to be instantiated directly but to allow the Metered and Proportional subclasses to operate interchangeably in some contexts.
-
The most recent absolute-time interval represented by an instance.
Declaration
Swift
public var lastInterval: TimeInterval = 1.0
-
Declaration
Swift
public static func ==(lhs: Duration, rhs: Duration) -> Bool