PPTopSlideMenu 0.1.0

PPTopSlideMenu 0.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total32
Week0
Month0

Installs

Apps6
powered by Segment

GitHub

Stars2
Watchers0
Forks0
Issues2
Contributors2
Pull Requests0

Code

Files2
LOCLines of Code 460



  • By
  • Paul Peelen

PPTopSLideMenu is a sliding menu that appears from the top. The original code is slightly based upon the MFSlideMenu.

Example

image

Installation

Manually

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.

Usage

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];

Opening & Closing Menus

[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.