TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
Float drawer controller for iOS
Currently, support left drawer only. I will support more features in the future.
QPFloatDrawerController *floatDrawer = [[QPFloatDrawerController alloc] initWithLeftViewController:leftController rightViewController:rightController];
self.window.rootViewController = floatDrawer;
You can call self.floatDrawerController to access the float drawer
You can show or hide right view by calling method:
[self.floatDrawerController revealToggleAnimated:YES];
You can add pan gesture to any view to reveal right view
[self.view addGestureRecognizer:self.floatDrawerController.panGestureRecognizer];
Change float width or full width by calling methods:
self.floatDrawerController.leftFloatWidth = 100.0f;
self.floatDrawerController.leftFullWidth = 320.0f;
Some features will develop in the future. Please let's me know what you want in this control. Thanks!