WeekdayPicker

public final class WeekdayPicker: UIPickerView

WeekdayPicker is a custom UIDatePicker with weekdays.

  • Init function take frame

    Declaration

    Swift

    public override init(frame: CGRect)
  • Init function coder

    Declaration

    Swift

    required public init?(coder aDecoder: NSCoder)
  • Called by the picker view when the user selects a row in a component.

    Declaration

    Swift

    public func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int)
  • Called by the picker view when it needs the title to use for a given row in a given component.

    Declaration

    Swift

    public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String?
  • Called by the picker view when it needs the number of components.

    Declaration

    Swift

    public func numberOfComponents(in pickerView: UIPickerView) -> Int
  • Called by the picker view when it needs the number of rows for a specified component.

    Declaration

    Swift

    public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int