DatePickerView

public final class DatePickerView : UIView

Custom input view for text fields with UIDatePicker. Have date picker and top view with custom “return” button. You have to provide linked textField in init method, then string with date will set in textField automatically.

Properties

Initialization

  • Method for creating DatePickerView with specific size, linked textField and custom dateFormat (“dd.MM.yyyy” by default)

    Declaration

    Swift

    static public func view(size: CGSize,
                            textField: DateTextField,
                            dateFormat: String? = nil) -> DatePickerView