Skip to content
Simple Slide Menu for iOS applications
Latest commit a759f35 Oct 17, 2013 @dominsbeard Update README.md
Failed to load latest commit information.
Xcode Example structure change Oct 17, 2013
LICENSE Initial commit Oct 17, 2013
README.md Update README.md Oct 17, 2013
SlideMenuView.h structure change Oct 18, 2013
SlideMenuView.m structure change Oct 18, 2013

README.md

SlideMenuView

A Simple Slide Menu for iOS applications. It adds left and/or right side menus to your app. Check out the example project to see it in action.

Import SlideMenuView.h & SlideMenuView.m into your project

Add the following at the end of your main UIViewController viewDidLoad method.

SlideMenuView *slideMenu = [[SlideMenuView alloc] initWithMainViewController:self];

//// Using storyboards
UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil];
// make sure you have the identifiers set correctly in the interface builder
[slideMenu setLeftViewController:[mainStoryboard instantiateViewControllerWithIdentifier:@"LeftViewController"]];
[slideMenu setRightViewController:[mainStoryboard instantiateViewControllerWithIdentifier:@"RightViewController"]];

//// Programmatically
[slideMenu setLeftViewController:[[MyLeftViewController alloc] init]];
[slideMenu setRightViewController:[[MyRightViewController alloc] init]];
Something went wrong with that request. Please try again.