文章来源:淘论文网   发布者: 毕业设计   浏览量: 40



还可以点击去查询以下关键词:
[ActionSheet]    [加载]    [自定]    [picker]    [显示]    [日期]    [带周]    [ActionSheet加载自定picker显示日期带周几]   

项目介绍:

github:https://github.com/7General/HZSheetView

调用代码

CustomDatePicker * pickerView = [[CustomDatePicker alloc] initWithSureBtnTitle:@'取消' otherButtonTitle:@'确定']; pickerView.delegate = self; pickerView.dataSource = self; [pickerView show];

代理

<CustomDatePickerDataSource,CustomDatePickerDelegate>

代理函数

@protocol CustomDatePickerDataSource <NSObject> @required /**设置行数数量*/ -(NSInteger)CpickerView:(UIPickerView *)pickerView numberOfRowsInPicker:(NSInteger)component; @optional /**设置每行的显示富文本字体*/ - (NSAttributedString *)CpickerView:(UIPickerView *)pickerView attributedTitleForRowTtile:(NSInteger)row forComponent:(NSInteger)component; /**设置每行返回的view*/ - (UIView *)CpickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(nullable UIView *)view; @end @protocol CustomDatePickerDelegate <NSObject> /**设置每行高度*/ -(CGFloat)CpickerView:(UIPickerView *)pickerView rowHeightForPicker:(NSInteger)component; -(void)CpickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component; /**确定按钮单击事件*/ -(void)CpickerViewdidSelectRow:(NSInteger)row; @end

有问题可以联系:QQ:1290925041

论文开题报告


这里还有:


还可以点击去查询:
[ActionSheet]    [加载]    [自定]    [picker]    [显示]    [日期]    [带周]    [ActionSheet加载自定picker显示日期带周几]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/8454.docx
  • 上一篇:简洁强大的毕业设计约束工具
  • 下一篇:【Swift】毕业设计汉诺塔