View with an awesome animation when it is shown/hidden
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MGFashionMenu.xcodeproj
MGFashionMenu
MGFashionMenuTests
MGFashionMenuView
LICENSE
MGFashionMenuView.podspec
README.md

README.md

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.