Latest 0.1.0
License MIT
Platforms ios 7.0, requires ARC
Frameworks QuartzCore

PPTopSLideMenu is a sliding menu that appears from the top. The original code is based upon the MFSlideMenu made by Michael Frederick.




Via CocoaPods

If you don’t have cocoapods yet (shame on you), install it:

$ [sudo] gem install cocoapods
$ pod setup

Go to the directory of your Xcode project, and Create and/or Edit your Podfile and add PPTopSlideMenu:

$ cd /path/to/MyProject
$ touch Podfile
# Edit the podfile using your favorite editor or push PPTopSlideMenu to the file
$ echo "pod 'PPTopSlideMenu'," >> Podfile
$ pod setup
$ pod install


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.


Adding the menu to your project

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:^{}];

Automatically hiding/showing the statusbar

If you would like the statusbar to disapear, add the View controller-based status bar appearance value to your Info.plist and set it to NO.


Currently, panning is not yet enabled. It is, however, added to the code from MFSlideMenu.

Notice! The TopSlideMenu is made quickly as a test for one of my own apps and needs refactoring.

Latest podspec

    "name": "PPTopSlideMenu",
    "version": "0.1.0",
    "summary": "PPTopSLideMenu is a sliding menu that appears from the top of the screen. ",
    "description": "                    PPTopSLideMenu is a sliding menu that appears from the top of the screen. The original code is slightly based upon the MFSlideMenu.nntttttThe current version still needs a refactoring!n",
    "homepage": "",
    "screenshots": "",
    "license": "MIT",
    "authors": {
        "Paul Peelen": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.0"
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source_files": "PPTopSlideMenu/*",
    "frameworks": "QuartzCore"

Pin It on Pinterest

Share This