mutualmobile/MMDrawerController — pull request #246 by kcharwood (2014-05-28 13:21:20+00:00)
Title: Disable user interaction during animation

I'm using a menu as my drawer's left view controller, and I'd like to disable interaction on that menu while the menu is animating. (The particular problem I'm trying to solve is preventing a user from tapping one option in the menu, then a different option while the drawer is closing.) I've done this by overriding the unpublished method `-setAnimatingDrawer:` in a subclass like so:

```objective-c
- (void)setAnimatingDrawer:(BOOL)animatingDrawer
{
// Disable taps on the menu items during animation.
self.leftDrawerViewController.view.userInteractionEnabled = !animatingDrawer;
[super setAnimatingDrawer:animatingDrawer];
}
```

but would be interested to know if there were a better way to accomplish this (particularly without grabbing a "private" method).