• Stars
    star
    362
  • Rank 114,115 (Top 3 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created about 10 years ago
  • Updated about 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

More Repositories

1

MGSpotyViewController

Beautiful viewController with a tableView and amazing effects like a viewController in the Spotify app.
Objective-C
1,025
star
2

MGFashionMenuView

View with an awesome animation when it is shown/hidden
Objective-C
339
star
3

UIView-MGBadgeView

Category which allows to show and customize a badge on every object which inherits from UIView like UIButton, UILabel, UIImage, etc..
Objective-C
128
star
4

GBPathImageView

With this class, you can get images in the circles or squares with the border.
Objective-C
51
star
5

MGMultipleImageBuilder

MGMultipleImageBuilder is a builder which allow you to create multi-face avatar such as that for a group chat.
Objective-C
29
star
6

UIView-MGConstraints

Category which allows to store, remove and replace easily constraints.
Objective-C
16
star
7

MGFinderView

MGFinderView is an animated finder view useful for instance to focus or to suggest a point of the screen to the user.
Objective-C
13
star
8

MGTextView

MGTextView extends UITextView fixing the Apple bugs and offering a couple of useful functionalities.
Objective-C
5
star
9

MGScreenshotHelper

This is an helper class to make screenshot to the view or to the screen with openGL and AVFoundation stuff, and manage the screenshot cropping a rect and scaling it.
Objective-C
3
star
10

GBDateManipulator

This class provides methods useful for managing dates and intervals between dates.
Objective-C
2
star
11

MGMultipleDelegationTest

This project, show an example of how to use multiple delegations. Morover, use dependency injection to make it testable
Objective-C
2
star
12

MGPagerView

MGPagerViewController allow the user to create a set of view with a set of title, and scrolling them synchronously.
Objective-C
2
star
13

MGFashionPickerView

Horizontal (for now) custom picker view very easy to use.
Objective-C
1
star
14

MGActionSheet

This is like a normal UIActionSheet but without delegate: most useful object that manages the user's choice with a block.
Objective-C
1
star
15

GBImageManipulator

This class provides to scale, merge and other method to manipulate images.
Objective-C
1
star
16

MGNotificationCenter

The goal of this object, is to extend the NSNotificationCenter adding new functionality to be the life of the developer easier.
Objective-C
1
star