Latest 1.0.0
Homepage https://github.com/KBvsMJ/EBTDatePickerDemo
License MIT
Platforms ios 8.0, requires ARC
Authors

使用cocoapods把类库添加到项目中:

pod ‘EBTSelectDatePicker’, ‘~> 1.0.0’

使用方法有两种:其中回调能获取选择日期并移除pickerview

  # 方法1:
[EBTSelectDatePickerView showInView:self.view andSelectDateCompleteHander:^(NSString *selectDate) {
NSLog(@"类调用selectDate = %@",selectDate);

}];

方法2:

[[EBTSelectDatePickerView shareInstance] showInView:self.view andSelectDateCompleteHander:^(NSString *selectDate) {

    NSLog(@"对象调用selectDate = %@",selectDate);
}];

演示图

Image

Latest podspec

{
    "name": "EBTSelectDatePicker",
    "version": "1.0.0",
    "summary": "Package implements the date selector class library EBTSelectDatePicker.",
    "description": "The package implements the date selector class library to reach the selected date function",
    "homepage": "https://github.com/KBvsMJ/EBTDatePickerDemo",
    "license": "MIT",
    "authors": {
        "KBvsMJ": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/KBvsMJ/EBTDatePickerDemo.git",
        "tag": "1.0.0"
    },
    "source_files": "EBTSelectDatePicker/*.{h,m}",
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This