-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.md
41 lines (26 loc) · 1.32 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# MGMonthableDatePicker
[![CI Status](http://img.shields.io/travis/winann/MGMonthableDatePicker.svg?style=flat)](https://travis-ci.org/winann/MGMonthableDatePicker)
[![Version](https://img.shields.io/cocoapods/v/MGMonthableDatePicker.svg?style=flat)](http://cocoapods.org/pods/MGMonthableDatePicker)
[![License](https://img.shields.io/cocoapods/l/MGMonthableDatePicker.svg?style=flat)](http://cocoapods.org/pods/MGMonthableDatePicker)
[![Platform](https://img.shields.io/cocoapods/p/MGMonthableDatePicker.svg?style=flat)](http://cocoapods.org/pods/MGMonthableDatePicker)
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Requirements
## Installation
MGMonthableDatePicker is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'MGMonthableDatePicker'
```
## Author
winann
## Usage
1. ```import MGMonthableDatePicker```
2. your *viewController* or *view* adopt `MonthOrDayStyleDatePickable`
3. config sth.(eg: beginDate / endDate / style)
4. invoke `selectDate(_:)` method
5. receive `Date` do what you like
## Screenshot
![](https://ws4.sinaimg.cn/large/006tKfTcgy1fjgyj8egw4g30ad0j2jvy.gif)
## License
MGMonthableDatePicker is available under the MIT license. See the LICENSE file for more info.