Latest 0.1.3
Homepage https://github.com/buhikon/JLPickerCollection
License MIT
Platforms ios 8.0
Authors

[![CI Status](http://img.shields.io/travis/Joey Lee/JLPickerCollection.svg?style=flat)](https://travis-ci.org/Joey Lee/JLPickerCollection)
Version
License
Platform

Example

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

Requirements

Installation

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

pod "JLPickerCollection"

Usage

JLDatePickerView *picker = [JLDatePickerView instance];
picker.datePicker.datePickerMode = UIDatePickerModeTime;
picker.datePicker.minuteInterval = 30;
[picker showPickerViewWithDate:[NSDate date]
                       minDate:nil
                       maxDate:nil
                        onView:self.view
                   resultBlock:^(BOOL success, NSDate *date) {
                       NSLog(@"success : %d, date : %@", success, date);
                   }];
[[JLTextPickerView instance] showPickerView:@[@"AAA",@"BBB",@"ccc",@"111",@"567"]
                               currentIndex:2
                                     onView:self.view
                                resultBlock:^(BOOL success, NSInteger index, NSString *name) {
                                    NSLog(@"success : %d, index : %d, name : %@", success, (int)index, name);
                                }];

Demo

JLPickerCollection

Author

Joey Lee, [email protected]

License

JLPickerCollection is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "JLPickerCollection",
    "version": "0.1.3",
    "summary": "date picker and picker view with simple interface.",
    "description": "it's really easy to show date picker or picker view with simple interface based on block.",
    "homepage": "https://github.com/buhikon/JLPickerCollection",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Joey Lee": "[email protected]"
    },
    "source": {
        "git": "https://github.com/buhikon/JLPickerCollection.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "JLPickerCollection/Classes/*.{h,m}",
    "resources": "JLPickerCollection/Classes/*.{xib}"
}

Pin It on Pinterest

Share This