Calendar 日历组件
pod 'CaamDauCalendar'
pod 'CaamDau/Calendar'
Usage
日期选择器
DatePickerAlert.show(.yyyyMMdd, date: Date(), preferredStyle: .sheet, callback: { (da) in
print_cd(da)
}) {
$0.colorLine = Config.color.line_1
$0.colorCancel = Config.color.txt_1
$0.colorDone = Config.color.main_1
$0.minDate = "2019-3-10".cd_date("yyyy-MM-dd")!
$0.maxDate = "2020-11-20".cd_date("yyyy-MM-dd")!
}
日历
Author
liucaide, [email protected]
License
CaamDau is available under the MIT license. See the LICENSE file for more info.