网易用的抽屉式导航MMDrawerController

MMDrawerController是一个用于实现侧滑抽屉导航的容器视图控制器库,支持自定义动画和多种手势操作。它适用于需要侧滑菜单的应用,并提供了UINavigationController支持、自定义手势识别、状态栏处理等功能。
摘要由CSDN通过智能技术生成

Mutual Mobile Drawer Controller

MMDrawerController is a side drawer navigation container view controller designed to support the growing number of applications that leverage the side drawer paradigm. This library is designed to exclusively support side drawer navigation in a light-weight, focused approach while exposing the ability to provide custom animations for presenting and dismissing the drawer.


Documentation

Official appledoc documentation can be found at CocoaDocs.


Installing MMDrawerController


You can install MMDrawerController in your project by using CocoaPods:

pod 'MMDrawerController', '~> 0.4.0'

Creating a Drawer Controller

Creating a MMDrawerController is as easy as creating a center view controller and the drawer view controllers, and init'int the drawer.

UIViewController * leftDrawer = [[UIViewController alloc] init];
UIViewController * center = [[UIViewController alloc] init];
UIViewController * rightDrawer = [[UIViewController alloc] init];

MMDrawerController * drawerController = [[MMDrawerController alloc]
                                       initWithCenterViewController:center
                                           leftDrawerViewController:leftDrawer
                                           rightDrawerViewController:rightDrawer];

Features

UINavigationController Support

MMDrawerController seamlessly accepts a 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值