• Stars
    star
    339
  • Rank 124,632 (Top 3 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 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

View with an awesome animation when it is shown/hidden

MGFashionMenuView

MGFashionMenuView is a view with an awesome animation when it is shown/hidden. It is useful to present a menu, a notification or an action button.

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 and use the control:

    //Init the control
    MGFashionMenuView *menuView = [[MGFashionMenuView alloc] initWithMenuView:myViewToPresent andAnimationType:MGAnimationTypeWave];
    [self.view addSubview:menuView];
    
    //Show/hide menu
    [menuView show];
    [menuView hide];

Useful properties:

    //Access to property to know if the control is shown or not
    [menuView isShown];
    
    //Access to property to know if the control is performing the animation or not
    [menuView isAnimating];

Contact

Matteo Gobbi

License

MGFashionMenuView 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,023
star
2

MGConferenceDatePicker

MGConferenceDatePicker is an object wich extend a UIView furnishing a very nice type of data picker.
Objective-C
362
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