Skip to content

A custom UIDatePicker which displays the day of the week alongside the day column

License

Notifications You must be signed in to change notification settings

hughbe/day-date-picker

Repository files navigation

DayDatePicker

A custom and customizable UIDatePicker which displays the day of the week alongside the day column

Screenshots

Screenshot 1 Screenshot 2

Installation

DayDatePicker is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'DayDatePicker'

Usage

From interface builder, create a UIView and set the class to TimePickerView or DayDatePickerView. The display will render in interface builder. These views use Auto Layout. Use the editingChanged event to receive updates when the date/time was changed.

DayDatePickerView is highly customizable, making is an ideal replacement for UIDatePicker if working with dates only. You can implement DayDatePickerViewDelegate or TimePickerViewDelegate to customize the display of cells in each column.

Use the overlayView property to access or modify the selection indicator.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

About

A custom UIDatePicker which displays the day of the week alongside the day column

Resources

License

Stars

Watchers

Forks

Packages

No packages published