ScheduleTimeSelector
public struct ScheduleTimeSelector
Defines a set of related time intervals in a timeline diagram, computed according to the referenced scheduling logic.
-
Undocumented
Declaration
Swift
public init(timesOf schedule: ScheduleDefinition)
-
Undocumented
Declaration
Swift
public init(timeoutsOf schedule: ScheduleDefinition)
-
Schedule definition to select working or nonworking times from.
Declaration
Swift
public var schedule: ScheduleDefinition
-
Whether to select working or nonworking times (timeouts) of the schedule.
Declaration
Swift
public var forTimeouts: Bool
-
Optional color used for highlighting the selected time in a diagram.
Declaration
Swift
public var color: Color?
-
State information identifying the external context (such as a data object) that the item is associated to. Set it upon item construction to be able to use it within specific protocol function handlers that receive the item among arguments.
Declaration
Swift
public var context: Any?
-
Initializes a schedule time selector based on specific time type.
Declaration
Swift
init(_ type: ScheduleTimeType)