FUIDurationPickerContentView

open class FUIDurationPickerContentView : FUITintableDrawingView<FUIControlState>, FUITitleMultiLineComponent, FUIValueComponent, FUIDurationPickerComponent
extension FUIDurationPickerContentView: UIPickerViewDelegate
extension FUIDurationPickerContentView: UIPickerViewDataSource

Undocumented

  • Declaration

    Swift

    public var value: TimeInterval { get set }
  • Declaration

    Swift

    public var valueAttributedText: NSAttributedString! { get set }
  • Declaration

    Swift

    public var title: FUIMultiLineText
  • The UIPickerView for this cell. This durationPicker will be displayed only when this cell is selected.

    Declaration

    Swift

    public private(set) lazy var durationPicker: UIPickerView { get set }
  • Set this property to customize the format of the duration text. If this property is not set, use the default text format. The default text format is %d Hrs %d Min, where %d is the number of hours and minutes.

    Declaration

    Swift

    public var durationTextFormat: String
  • This property indicates whether the duration value of 0 is allowed or not. The default is false, which means that the duration value cannot be 0.

    Declaration

    Swift

    public var allowsZeroDuration: Bool { get set }
  • minuteInterval must be evenly divisible by 60. The default is 5. The minimum is 1 and the maximum is 30.

    Declaration

    Swift

    public var minuteInterval: Int { get set }
  • Implementation of the change handler. This is invoked on changes to the value property.

    Declaration

    Swift

    public var onChangeHandler: ((Double) -> Void)?
  • If isTrackingLiveChanges is true, then onChangeHandler will be invoked whenever a duration is selected. Otherwise, onChangeHandler will be invoked only when the Duration Picker is closed. The default value is true.

    Declaration

    Swift

    public var isTrackingLiveChanges: Bool
  • Indicates whether the value of the cell may be modified. The default is true.

    Declaration

    Swift

    public var isEditable: Bool { get set }
  • Declaration

    Swift

    public override func refreshAttributedStrings()
  • Undocumented

    Declaration

    Swift

    public override func systemLayoutSizeFitting(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority: UILayoutPriority) -> CGSize
  • Declaration

    Swift

    public override func calculateLayout(_ targetSize: CGSize)