Skip to content

heartjoy/CQSideBarManager

Repository files navigation

CQSideBarManager

  • a useful sideBar Manager for iOS.

ScreenShot

Requirements

  • iOS 7.0 or higher
  • ARC

Features

  • can open the sideBar
  • can close the sideBar
  • support customize the sideBar
  • support device rotation
  • support to click mask to close the sideBar
  • support CocoaPods

Delegate

@required
- (UIView *)viewForSideBar;

@optional
/**
 * 点击遮罩层关闭侧边栏,默认为YES
 */
- (BOOL)canCloseSideBar;

CocoaPods

  • pod "CQSideBarManager"

Examples

//打开侧边栏
[[CQSideBarManager sharedInstance] openSideBar:self];

//关闭侧边栏
[[CQSideBarManager sharedInstance] closeSideBar];

Hope

  • If you have any questions during the process or want more interfaces to customize,you can issues me !
  • If you find the function is not enough when used,Hope you can issues me,I very much to add more useful function to this framework ,Thank you !

Licenses

All source code is licensed under the MIT License.