一、前言
目前,市面上大多数的APP都具有菜单筛选功能,基本上以下拉菜单、侧边栏菜单效果为主,现在分享下一个侧边栏管理器,方便实现侧边栏效果,已在多个线上APP中使用。
二、代码
调用代码
//open the sideBar
[[CQSideBarManager sharedInstance] openSideBar:self];
//close the sideBar
[[CQSideBarManager sharedInstance] closeSideBar];
有需要的同学可以下载demo https://github.com/heartjoy/CQSideBarManager
也可以直接 pod 'CQSideBarManager' 在项目中使用
后续还会开源多级下拉菜单、自定义AlertView等,欢迎提出意见,论文,我会进行改进!
,开题报告