Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughbe/day-date-picker
A custom UIDatePicker which displays the day of the week alongside the day column
https://github.com/hughbe/day-date-picker
Last synced: about 2 months ago
JSON representation
A custom UIDatePicker which displays the day of the week alongside the day column
- Host: GitHub
- URL: https://github.com/hughbe/day-date-picker
- Owner: hughbe
- License: mit
- Created: 2015-01-18T12:23:21.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-08-15T12:33:41.000Z (over 5 years ago)
- Last Synced: 2024-10-13T22:46:12.844Z (3 months ago)
- Language: Swift
- Size: 280 KB
- Stars: 162
- Watchers: 9
- Forks: 28
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DayDatePicker
A custom and customizable UIDatePicker which displays the day of the week alongside the day column## Screenshots
![Screenshot 1](https://github.com/hughbe/DayDatePicker/blob/master/resources/screenshots/1.png "Screenshot 1")
![Screenshot 2](https://github.com/hughbe/DayDatePicker/blob/master/resources/screenshots/2.png "Screenshot 2")## Installation
DayDatePicker is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
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.