⚠️ This library is deprecated. ⚠️
MSSlidingPanelController is a library which allows to easily integrate in your iOS 7 project a sliding panel controller mechanism.
Either for the left and right panel, it is possible to set:
The status bar color transition can be:
The panels can be opened by:
The panels can be closed by:
The interactions with the center view can be:
MSSlidingPanelControllerDelegate allows to know when:
This extension allows view controllers to easily get a pointer on a sliding panel controller if this one is a parent.
There are two ways to use
MSSlidingPanelController in your project.
The first one is to manually add these files to your project:
The second way is by using CocoaPods.
The documentation of
MSSlidingPanelController can be found on CocoaDocs.
That's very easy to create a
MSSlidingPanelController. Only write this few lines et voila!
UIViewController *centerViewController; UIViewController *leftPanelController; UIViewController *rightPanelController; MSSlidingPanelController *slidingPanelController; centerViewController = [[UIViewController alloc] init]; leftPanelController = [[UIViewController alloc] init]; rightPanelController = [[UIViewController alloc] init]; slidingPanelController = [[MSSlidingPanelController alloc] initWithCenterViewController:centerViewController leftPanelController:leftPanelController andRightPanelController:rightPanelController];
You can also create it by using Storyboard. Take a look at the examples to see how it works!
The library and the examples are developed and designed by Sébastien MICHOY.
If you find a bug, feel free to create a Github issue!
MSSlidingPanelController is available under the BSD license. Please see the LICENSE file for more information.