<commit_before># VJDatePicker
A date picker for everything

[![alt text][2]][1]

  [1]: https://raw.githubusercontent.com/vinayjn/VJDatePicker/master/images/screen.png (Demo Screen)
  [2]: https://raw.githubusercontent.com/vinayjn/VJDatePicker/master/images/screen.png (Demo Screen)
<commit_msg>Added documentation to ReadMe<commit_after># VJDatePicker

A `UIPickerView` subclass which removes the limitations of `iOS` default `UIDatePicker`.

![Demo](https://raw.githubusercontent.com/vinayjn/VJDatePicker/master/images/screen.gif)


## Available types 

    enum VJDatePickerType : String {
        case Default
        case DayOnly
        case MonthOnly
        case YearOnly
        case YearMonth
        case MonthDay
    }

## Usage

    let picker = VJDatePicker()

or 

    let picker = VJDatePicker(type: .MonthOnly, minYear: 1900, maxYear: 2037)
    picker.datePickerType = .YearMonth
    picker.frame = CGRectMake(0, 300, 320, 200)
    picker.datePickerDelegate = self

Conform to `VJDatePickerDelegate` and implement the delegate method : 

    func dateComponentsDidChange(dateComponents: VJDateComponents) {
        //    print(dateComponents)
    }
    
## Requirements

- Swift 2.2
- Xcode 7.0 +

## License

Available under the MIT license. See the [LICENSE](https://github.com/vinayjn/VJDatePicker/blob/master/LICENSE) file for more info.

{'fraction_non_alphanumeric': 0.10228108903605593, 'fraction_numerical': 0.01913171449595291, 'mean_word_length': 3.563758389261745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2666269', 'n_tokens_mistral': 465, 'n_tokens_neox': 420, 'n_words': 103}