TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
PPTopSLideMenu is a sliding menu that appears from the top. The original code is slightly based upon the MFSlideMenu.
Add the .h
and .m
file to your project. Add QuartzCore to your project. If you have a project that doesn't use ARC, add the -fobjc-arc
compiler flag to the PPTopSlideMenu files.
In your app delegate:
#import "PPTopSlideMenu.h"
PPTopSlideMenuViewController *menuContainerViewController = [PPTopSlideMenuViewController topMenuWithContainer:centerPageViewController menuViewController:menuViewController];
[self.menuContainer setMenuHeight:200.0f];
[self.window setRootViewController:self.menuContainer];
[self.window makeKeyAndVisible];
[self.menuContainerViewController toggleMenu:^{}];```
##Todo
Currencly, panning is not yet enabled. It is, however, added to the code from `MFSlideMenu`.
Warning! The TopSlideMenu is made quickly as a test for one of my own apps and needs refactoring.