JLSlideMenuController 0.4.5

JLSlideMenuController 0.4.5

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release May 2016
SPMSupports SPM

Maintained by Jose Lucas.



  • By
  • José Lucas

JLSlideMenuController

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

If you want to use this framework you will need at least IOS 8!

Installation

JLSlideMenuController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "JLSlideMenuController"

Initial Configurations

First Step

Import it on every file that you will use this framework.

import JLSlideMenuController
Second Step

Remember that every Navigation View Controller that will have this menu should extends JLSlideNavigationController. Example:

class myNavController: JLSlideNavigationController
Third Step

Now what you have to go to inspector of your navigation controller and set the properties like the id of your menu vc, name of the storyboard where your menu is.

OBS

Diferent navigation controllers can have the same instance of the menu vc, for that you just have to choose the same id and storyboard name.

Fourth Step

Your menu view controller should extends JLSlideMenuViewController.

Quick Tips

Presenting the menu
  showMenu(animated:Bool)

Hiding the menu

  hideMenu(animated:Bool)

Presenting modally another view from the menu

presentControllerModally(VCId:String,storyboardName:String,animated:Bool)

Presenting another view from the menu

showController(VCId:String,storyboardName:String,animated:Bool)

Do not forget to see the example

Author

José Lucas

License

JLSlideMenuController is available under the MIT license. See the LICENSE file for more info.