Latest 1.5.2
Homepage https://github.com/nenseso/NENSlideMenu
License MIT
Platforms ios 8.0
Authors

NENSlideMenu

  • 使用

CocoaPods

pod 'NENSlideMenu'
// 1.在主控制器中创建
NENSlideManager *slideManager = [[NENSlideManager alloc] initWithMenuController:destinationVC mainController:self];
// 2.确保它不是临时变量,因为转场的逻辑都统一由它来管理
self.slideManager = slideManager;
// 3.设置侧滑栏的初始位置
slideManager.targetEdge = UIRectEdgeLeft;
// 4.设置侧滑栏的宽度,如果不设置,默认是屏幕宽度
slideManager.MenuWidth = 270;

现在当我们执行presentViewController 即可modal出侧滑栏控制器。

Latest podspec

{
    "name": "NENSlideMenu",
    "version": "1.5.2",
    "summary": "NENSlideMenu is a simple slide menu",
    "description": "NENSlideMenu u662fu4e00u4e2au7b80u5355u7684u6ed1u52a8u83dcu5355u7ba1u7406u63a7u4ef6uff0cu4f60u53efu4ee5u4f7fu7528u5b83u6765u7ba1u7406u4f60u7684u4e3bu63a7u5236u5668u548cu4fa7u6ed1u680fu63a7u5236u5668u7684u8df3u8f6cuff0cu624bu52bfu6ed1u52a8uff0cu548cu4fa7u6ed1u680fu63a7u5236u5668nu6ed1u51fau7684u4f4du7f6euff0cu5927u5c0fu3002",
    "homepage": "https://github.com/nenseso/NENSlideMenu",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "weuse_hao": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/nenseso/NENSlideMenu.git",
        "tag": "1.5.2"
    },
    "source_files": [
        "NENSlideMenu",
        "*.{h,m}"
    ]
}

Pin It on Pinterest

Share This