Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 1.29 KB

README_EN.md

File metadata and controls

58 lines (34 loc) · 1.29 KB

YCDateFilter

Version License Platform

description

This component is used to select a month or date range

Support

iPhone / iPad

Installation

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

pod 'YCDateFilter'

Usage

@interface YCViewController ()

@property (nonatomic, strong) YCDateFilterViewController *filterVc;

@end
self.filterVc.modalPresentationStyle = UIModalPresentationOverFullScreen;
// 选择器回调
self.filterVc.dateRangeBlock = ^(NSString *startTime, NSString *endTime, NSString *showString) {
    
};
[self presentViewController:self.filterVc animated:YES completion:nil];
    

示例gif

Author

杨超, [email protected]

License

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