Add a left-side navigation drawer to an iOS app with a few lines of setup code using CocoaPods.
Build an app with both left and right slide-out panels that users open with swipe gestures.
Customize the drawer opening animation using the percentage callback to animate opacity, scale, or position.
Control whether the user can interact with the content behind an open drawer.
Install via CocoaPods, documentation is available on CocoaDocs.
MMDrawerController is an iOS library for adding a side drawer to a mobile app. A side drawer, sometimes called a hamburger menu, is a panel that slides in from the left or right edge of the screen to reveal navigation options or other content. This library handles that sliding panel behavior so iOS developers do not have to build it from scratch. The library supports drawers on both the left and right sides simultaneously. A center view controller sits in the middle, and the left and right drawer view controllers slide in from their respective edges. The developer creates these three view controllers and passes them to the library, which handles the rest of the layout and animation. Gesture controls are configurable. Developers can specify which actions open or close the drawer, such as panning anywhere on the navigation bar, panning from the edge of the screen, tapping the center view, or panning the drawer itself. Custom gesture logic is also supported through a callback block where the developer can write their own rules for when a gesture should be recognized. The visual transition during open and close is also customizable. The library provides a callback that fires as the drawer moves, giving the developer a percentage value they can use to animate things like opacity, scale, or position. The library also ships with several prebuilt animation styles. When a drawer is open, the developer can control whether the user can interact with the content behind it: no interaction, full interaction, or navigation bar only. The library is installable via CocoaPods, a package manager for iOS projects, and documentation is available on CocoaDocs.
← mutualmobile on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.