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



还可以点击去查询以下关键词:
[数据]    [选择]    [支持]    [单列]    [毕业]    [plist]    [读取]    [一种支持单列数据选择,多毕业列数据选择,plist读取数据选择...]   

项目介绍:

DLPickerView

github地址:https://github.com/coder-zwz/DLPickerView

一种支持单列数据选择,多列数据选择,开题报告,plist读取数据选择的多功能数据选择器,只需改变选择器NSArray数据源即可!InstallationCocoaPods

DLPickerView is available on CocoaPods. Just add the following to your project Podfile:

pod 'DLPickerView' # Podfile主要功能:

多列数组数据源:

多列数组数据源代码生成 DLPickerView *pickerView = [[DLPickerView alloc] initWithDataSource:@[@[@'Bei Jing',@'Shang Hai'], @[@'Li Lei',@'Han Meimei']] withSelectedItem:[sender.titleLabel.text componentsSeparatedByString:OwnerSeparator] withSelectedBlock:^(id selectedItem) { [sender setTitle:[selectedItem componentsJoinedByString:OwnerSeparator] forState:UIControlStateNormal]; } ]; [pickerView show]; 单列数组数据源:

单列数组数据源代码生成 DLPickerView *pickerView = [[DLPickerView alloc] initWithDataSource:@[@'Man',@'Woman'] withSelectedItem:sender.titleLabel.text withSelectedBlock:^(id selectedItem) { [sender setTitle:selectedItem forState:UIControlStateNormal]; } ]; [pickerView show]; Plist读取数据源:

Plist读取数据源代码生成 DLPickerView *pickerView = [[DLPickerView alloc] initWithPlistName:@'Time' withSelectedItem:[sender.titleLabel.text componentsSeparatedByString:TimeSeparator] withSelectedBlock:^(id selectedItem) { [sender setTitle:[selectedItem componentsJoinedByString:TimeSeparator] forState:UIControlStateNormal]; } ]; [pickerView show];

开题报告


这里还有:


还可以点击去查询:
[数据]    [选择]    [支持]    [单列]    [毕业]    [plist]    [读取]    [一种支持单列数据选择,多毕业列数据选择,plist读取数据选择...]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/8457.docx
  • 上一篇:BR_Tabl毕业设计ewTemplate
  • 下一篇:swift3.0高仿斗毕业设计鱼TV 最新版