Skip to content
프로젝트

matteogobbi/MGConferenceDatePicker

GitHub에서 보기

소개

MGConferenceDatePicker는 UIView를 확장해 세련된 날짜 선택기를 제공하는 객체입니다.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

MGConferenceDatePicker

MGConferenceDatePicker is an object wich extend a UIView furnishing a very nice type of data picker.

MGConferenceDatePicker Screenshot

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

License

MGConferenceDatePicker is available under the MIT license.

관련 프로젝트 살펴보기

불러오는 중…