一行代码集成时间选择器
# LeeDatePickerView 一行代码集成时间选择器 ### Git 地址 https://github.com/leeboo741/LeeDatePickerView ### 例图 ![例图1](https://github.com/leeboo741/ImageRepository/blob/master/DatePickerImage/1.png) ![例图2](https://github.com/leeboo741/ImageRepository/blob/master/DatePickerImage/2.png) ![例图3](https://github.com/leeboo741/ImageRepository/blob/master/DatePickerImage/3.png) ![使用方法](https://github.com/leeboo741/ImageRepository/blob/master/DatePickerImage/4.png) ![打印结果](https://github.com/leeboo741/ImageRepository/blob/master/DatePickerImage/5.png) ### 很简单 > 很简单,代码简单,使用更简单,一句话集成 > > [LeeDatePickerView showLeeDatePickerViewWithBlock:^(NSDate *startDate, NSDate *endDate) {}]; > > 就可以使用时间选择器,并且在block中返回选中的时间。 ### 不足 * 在给点时间,多面对一些使用场景,目前只能是选择开始日期和结束日期,后期会做成可以选择单个日期,可以选择日期和时间等等。 * 时间比对错误状态之类的没太想明白,目前只有当结束时间超过开始时间才会提醒,可以自己添加。 * 代码还是很堆积,会在后面把代码拆分开来。 ### Orz 依旧跪求星星 1. 如果对您有点用,跪求一颗星星。 2. 如果对您没有用,跪求一点建议。 3. 如果发现什么错误,提交一下错误,我会尽快改正