# griddynamics-archive/mmdrawercontroller

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/griddynamics-archive-mmdrawercontroller).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

6,688 stars · 1,349 forks · Objective-C · MIT

## Links

- GitHub: https://github.com/griddynamics-archive/MMDrawerController
- Homepage: http://griddynamics-archive.github.io/MMDrawerController/
- awesome-repositories: https://awesome-repositories.com/repository/griddynamics-archive-mmdrawercontroller.md

## Description

MMDrawerController is a container view controller for iOS apps that slides the main content aside to reveal hidden left or right navigation panels. It wraps a center view controller and its drawer controllers in a single parent, managing their lifecycle and layout as one hierarchy. Drawers open and close through pan and tap gestures, with separate configuration for opening and closing.

Gesture handling is configurable. Separate masks decide which pans and taps on the navigation bar, screen edge, center view, or drawer trigger a transition, and a developer-supplied callback can decide whether a custom gesture should be recognized. Block-based hooks run when drawers are presented and dismissed, so the default slide can be replaced with custom animations. The center view can also be translated sideways to uncover the panel beneath it, driven by interactive pan progress.

A navigation controller can be used as the center content. In that case swipe gestures are adjusted automatically to avoid conflicts with back-swipe handling, and a category extension lets nested screens reach their ancestor drawer container.

The library is written in Objective-C and distributed as a CocoaPods spec, so it can be added to a project with a single Podfile declaration.

## Tags

### Mobile Development

- [iOS Navigation Drawers](https://awesome-repositories.com/f/mobile-development/ios-navigation-drawers.md) — Slides the main content aside to reveal hidden left or right navigation panels in iOS apps.
- [iOS Side Menu Controllers](https://awesome-repositories.com/f/mobile-development/ios-side-menu-controllers.md) — Implements a container view controller for iOS that slides the main content aside to reveal hidden left or right navigation panels.
- [iOS Container View Controllers](https://awesome-repositories.com/f/mobile-development/ios-container-view-controllers.md) — Wraps a center view controller and left and right drawer controllers in one parent, managing their lifecycle and layout together.
- [Animation Customizations](https://awesome-repositories.com/f/mobile-development/android-ecosystem/android-libraries/navigation-drawer-libraries/animation-customizations.md) — Provides block-based hooks that run when drawers are presented and dismissed, so the default slide can be swapped for custom animations.
- [iOS Reveal View Controllers](https://awesome-repositories.com/f/mobile-development/ios-reveal-view-controllers.md) — Slides the center view sideways in step with the pan gesture to uncover the hidden panel beneath it.

### Part of an Awesome List

- [Gesture Menus](https://awesome-repositories.com/f/awesome-lists/devtools/touch-and-gestures/gesture-menus.md) — Opens and closes side panels through pans and taps on the navigation bar, center view, screen edge, or panel, with separate opening and closing masks. ([source](https://github.com/griddynamics-archive/mmdrawercontroller#readme))
- [Swipe and Gesture Controls](https://awesome-repositories.com/f/awesome-lists/devtools/swipe-and-gesture-controls.md) — Lets users open, close, and dismiss panels with swipes, pans, and taps, with configurable rules for which touches trigger the action.

### User Interface & Experience

- [Side Navigation Drawers](https://awesome-repositories.com/f/user-interface-experience/navigation-menu-management/side-navigation-drawers.md) — Provides hidden side panels that slide out from the screen edge so users reach navigation options without cluttering the main content.
- [Sliding Navigation Drawers](https://awesome-repositories.com/f/user-interface-experience/sliding-navigation-drawers.md) — Slides the main content aside to reveal hidden left or right panels, all managed inside a single container controller. ([source](https://github.com/griddynamics-archive/mmdrawercontroller#readme))
- [Drawer Swipe Navigation](https://awesome-repositories.com/f/user-interface-experience/toast-notifications/swipe-to-dismiss-gestures/drawer-swipe-navigation.md) — Opens and closes side drawers through pan and tap gestures, with separate configurable masks for opening and closing.
- [Custom Animation Hooks](https://awesome-repositories.com/f/user-interface-experience/sliding-navigation-drawers/custom-animation-hooks.md) — Provides block-based hooks that run when drawers are presented and dismissed, letting developers swap the default slide for custom animations.
- [Gesture Recognizer Masks](https://awesome-repositories.com/f/user-interface-experience/touch-gesture-handlers/touch-event-processors/coordinate-to-translation-mapping/input-to-action-mappings/gesture-to-action-mappings/gesture-trigger-configuration/gesture-recognizer-masks.md) — Offers separate opening and closing bitmasks that decide which pans and taps on the bezel, center view, or drawer trigger a transition.
