ECSlidingViewController is a view controller container that manages a layered interface. The top layer anchors to the left or right side of the container while revealing the layer underneath it. This is most commonly known as the “Side Menu”, “Slide Out”, “Hamburger Menu/Drawer/Sidebar”, etc…
Open source Side Menu for iOS (ios). Available on GitHub.
- Panning gesture to move top view can be set on any
UIView
(uiview). It is most likely a navigation bar or the whole top view itself. - Configurable anchor positions, with automatic adjustments for orientation change.
- There are no assumptions about the size and layout of the views under the top
view. See the
underLeftWidthLayout
andunderRightWidthLayout
properties if you need a common layout. - The child views can be changed at anytime.
- Child view controllers can be an instance of
UIViewController
(uiviewcontroller) or any subclass ofUIViewController
includingUINavigationController
(uinavigationcontroller) andUITabBarController
(uitabbarcontroller). - iPad (ipad) support.