TimeInterval
extension TimeInterval: MillisecondsRepresentable
-
Creates a
TimeInterval
value by converting the givenmilliseconds
to seconds.Declaration
Swift
public init(_ milliseconds: Milliseconds)
-
Returns a
Milliseconds
value by converting the value to milliseconds.Declaration
Swift
public var milliseconds: Milliseconds { get }