RiValT_TimerArray_Placeholder
class RiValT_TimerArray_Placeholder
extension RiValT_TimerArray_Placeholder: Equatable
extension RiValT_TimerArray_Placeholder: Identifiable
extension RiValT_TimerArray_Placeholder: Hashable
This class allows us to have “placeholders,” for the “add” items at the ends of the rows, or the bottom of the matrix.
-
If this is a placeholder for an existing timer, then we simply supply that.
Declaration
Swift
var timer: Timer?
-
This is a local UUID for this item.
Declaration
Swift
var _id: UUID
-
Equatable Conformance.
Declaration
Swift
static func == (lhs: RiValT_TimerArray_Placeholder, rhs: RiValT_TimerArray_Placeholder) -> Bool
Parameters
lhs
The left-hand side of the comparison.
rhs
The right-hand side of the comparison.
Return Value
True, if they are equal.
-
If we represent an existing timer, we use that UUID.
Declaration
Swift
var id: UUID { get }
-
Hash dealer.
Declaration
Swift
func hash(into inOutHasher: inout Hasher)
Parameters
inOutHasher
The hasher we’re loading up.