项目
在 GitHub 查看 
matteogobbi/MGConferenceDatePicker
关于
MGConferenceDatePicker 是一个扩展 UIView 并提供日期选择器的对象。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文MGConferenceDatePicker
MGConferenceDatePicker is an object wich extend a UIView furnishing a very nice type of data picker.

Info
This code must be used under ARC.
If your code doesn't use ARC you can mark this source with the compiler flag -fobjc-arc
Example Usage
In the package is included the project to test the object. This is an easy example to init the control from code:
//New view controller
UIViewController *pickerViewController = [[UIViewController alloc] init];
//Init the datePicker view and set self as delegate
MGConferenceDatePicker *datePicker = [[MGConferenceDatePicker alloc] initWithFrame:self.view.bounds];
[datePicker setDelegate:self];
//OPTIONAL: Choose the background color
[datePicker setBackgroundColor:[UIColor whiteColor]];
//Set the data picker as view of the new view controller
[pickerViewController setView:datePicker];
//Present the view controller
[self presentViewController:pickerViewController animated:YES completion:nil];
Or you are also able to set the view directly in the NIB or in the XIB file and simply just set the delegate from code.
See the example's project.
Contact
Matteo Gobbi
- http://www.matteogobbi.it
- http://github.com/matteogobbi
- http://twitter.com/matteo_gobbi
- https://angel.co/matteo-gobbi
- http://www.linkedin.com/profile/view?id=24211474
License
MGConferenceDatePicker is available under the MIT license.
探索相关项目
加载中…