MUDatePicker

@IBDesignable
open class MUDatePicker : MUNibView

Class that act like UIDatePicker with more customizable options.

  • The minimum date that a date picker can show.

    Declaration

    Swift

    open var minimumDate: Date? { get set }
  • The maximum date that a date picker can show.

    Declaration

    Swift

    open var maximumDate: Date? { get set }
  • The date displayed by the date picker.

    Declaration

    Swift

    open var selectedDate: Date { get set }
  • The picker’s background color.

    Declaration

    Swift

    open override var backgroundColor: UIColor? { get set }
  • Define the text’s color.

    Declaration

    Swift

    @IBInspectable
    open dynamic var textColor: UIColor { get set }
  • Define the separator’s height.

    Declaration

    Swift

    @IBInspectable
    open dynamic var separatorHeight: CGFloat { get set }
  • Default setup to load the view from a xib file.

    Declaration

    Swift

    open override func xibSetup()