Latest 1.0.4
Homepage https://github.com/byvapps/ByvMenuNav
License MIT
Platforms ios 8.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Adrian Apodaca macbook air/ByvMenuNav.svg?style=flat)](https://travis-ci.org/Adrian Apodaca macbook air/ByvMenuNav)
Version
License
Platform

ByvMenuNav

Is an UINavigationController than manage menus.
If the status bar style is going to be changed you must add View controller-based status bar appearance = NOto project plist

Example

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

Requirements

Installation

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

pod "ByvMenuNav"

Usage

Set root UINavigationController class to ByvMenuNav class.

Menu view must implement ByvMenu protocol. For default left menu you can assign it in three different ways.

1.- From storyboard
Create an UIViewController with StoryBoard ID = ByvLeftMenuVC

2.- From storyboard with other StoryBoard ID
Dynamically update the custom StoryBoard Id ByvMenuNav.instance.leftMenuIdentifier = "MyCustomByvLeftMenuVCStoryBoardId"

3.- Updating leftMenu
Dynamically update the leftMenu var ByvMenuNav.instance.leftMenu = myCustomByvLeftMenu

Mode

The menu button can be displayed only in the root view controller or in all view controllers setting allwaysShowLeftMenuButton = true.

The root controller will add a pan gesture to display the menu
addPanGesture = true.

Be carefull if the root view controller is an UITableViewController or any controller with a UIScrollView as root view. In this case pan gesture isn’t added to allow scrolling… It can be added if you add the UIScrollView as a subview

Author

Adrian Apodaca, [email protected]

License

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

Latest podspec

{
    "name": "ByvMenuNav",
    "version": "1.0.4",
    "summary": "Is an UINavigationController than manage menus.",
    "description": "Is an UINavigationController than manage menus. It add lft menu button automatically",
    "homepage": "https://github.com/byvapps/ByvMenuNav",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Adrian Apodaca": "[email protected]"
    },
    "source": {
        "git": "https://github.com/byvapps/ByvMenuNav.git",
        "tag": "1.0.4"
    },
    "platforms": {
        "ios": "8.0"
    },
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4.0"
    },
    "source_files": "ByvMenuNav/Classes/**/*",
    "requires_arc": true,
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This