Configuration
struct Configuration
Undocumented
-
Undocumented
Declaration
Swift
public static let `default`: TKUITimePickerSheet.Configuration
-
Minute interval that the user can specify the minutes in.
Defaults to 1 minute increments.
Declaration
Swift
public var incrementInterval: Int
-
Whether the picker in
timeType
mode is allowed to display theleaveASAP
option.Defaults to
true
.Declaration
Swift
public var allowsASAP: Bool
-
Earliest date/time that can be selected
Defaults to
nil
, i.e., no limit.Declaration
Swift
public var minimumDate: Date?
-
Latest date/time that can be selected
Defaults to
nil
, i.e., no limit.Declaration
Swift
public var maximumDate: Date?
-
Allows customizing the “Leave at” time type label.
Declaration
Swift
public var leaveAtLabel: String
-
Allows customizig the “Arrive by” time type label
Declaration
Swift
public var arriveByLabel: String
-
This controls wether minimum and maximum date is set to 1 month if set to nil
Declaration
Swift
public var removeDateLimits: Bool
-
Allows selection of dates that are below or beyond minimum and maximum date respectively. This makes the selector button be disabled wether current date selected is out of range.
Declaration
Swift
public var allowsOutOfRangeSelection: Bool