Skip to content

The calendar-style date picker with weekly and monthly mode.

License

Notifications You must be signed in to change notification settings

jyu0414/YMDatePicker

Repository files navigation

YMDatePicker

The calendar-style date picker with weekly and monthly mode.

The calendar is weekly mode usually and arranged top of the view. When the user taps the checkmark button, the calendar will expand and change to a monthly mode.

demo

Features

  • Provide date picker in calendar style.
  • Show calendar weekly or monthly.
  • Show in the inputView like UIPickerView.

demo

Installation

Use CocoaPods...

pod 'YMDatePicker', '~> 0.3'

You can also add YMDatePicker.xcproj to your project manually.

Usage

Storyboard

  1. Arrange UIView using a storyboard.
  2. Inherit YMDatePicker and also specify it for 'module.'
  3. After a while calendar will be displayed on the view.
  4. You can connect IBAction to ValueChanged. This event will fire when the date is selected.

Contact

License

This project is licensed under the mit license.