Closed luugiathuy closed 10 years ago
@luugiathuy, It's a nice solution, but I believe it can be improved. Use it requires a lot of logic from the controller, no?
You could show an example of this method usage?
@Bruno-Furtado, no logic from your controllers. I changed the logic of MFSideMenuContainerViewController so that it only accepts horizontal gestures
Very good. I used your fork and is a great solution.
Thanks @luugiathuy!
@luugiathuy Thanks for this and sorry I have been a poor maintainer of this project recently.
Hi Mike,
I have added a check in
gestureRecognizerShouldBegin:
whether the panning gesture is horizontal panning before handling it. I think it is useful in the case the main view controller has a scroll view, e.g UITableViewController, the panning up and down on the table won't open the side menus.Again, thank you for your project =)
Cheers, Thuy