Enumeration
Drop.Duration
public enum Duration: Equatable, ExpressibleByFloatLiteral
An enum representing a drop duration on screen.
Relationships
Member Of
Drop
An object representing a drop.
Conforms To
Equatable
ExpressibleByFloatLiteral
Initializers
init(floatLiteral:)
public init(floatLiteral value: TimeInterval)
Create a new duration object.
Parameters
Name | Type | Description |
---|---|---|
value | TimeInterval |
Duration in seconds |