Latest 0.1.1
Homepage https://github.com/wangzhibiao/EZDrawer
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

EZDrawer Swift3.0

  • 一个简陋的抽屉菜单效果。可同时或单独包含左右抽屉菜单。
  • Installation with CocoaPods:pod 'EZDrawer'
        // 创建控制器
        let main = UIViewController()
        let left = UIViewController()
        let right = UIViewController()

        // 管理器
        let manager = EZDrawer.shared

        // 创建根是图如果没有主页视图控制器则返回nil 
          let root = manager.setupChilds(main: main, left: nil, right: nil)
//        let root = manager.setupChilds(main: main, left: left, right: nil)
//        let root = manager.setupChilds(main: main, left: nil, right: right)

        // 设置停靠比例默认 0.7 范围 0.1~0.9
        manager.scale = 0.6
        
        // 设置根是图
        window = UIWindow(frame: UIScreen.main.bounds)
        window?.rootViewController = root
        window?.makeKeyAndVisible()

Latest podspec

{
    "name": "EZDrawer",
    "version": "0.1.1",
    "summary": "u62bdu5c49u83dcu5355u7b80u5355u5b9eu73b0",
    "homepage": "https://github.com/wangzhibiao/EZDrawer",
    "license": "MIT",
    "authors": {
        "Wang Xiao Shuai": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/wangzhibiao/EZDrawer.git",
        "tag": "0.1.1"
    },
    "source_files": [
        "EZDrawer",
        "EasyDrawer/EasyDrawer/Classes/*.swift"
    ],
    "frameworks": "UIKit",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This