romaonthego / RESideMenu

iOS 7/8 style side menu with parallax effect.
MIT License
7.09k stars 1.35k forks source link

fixed pan gesture conflict problem #289

Open mws100 opened 8 years ago

mws100 commented 8 years ago

Hi, Great appreciation for your awesome SlideSlip Framwork. During use, I noticed a problem as belows: If an developer adds an SlideLeft or SlideRight gesture into his/her controller, an gesture collision will occur, even if setting "RESideMenu.panGestureEnable = NO". For example, the SlideLeft Delete gesture collision in the 'Edit' mode of UITableView. I gave an solution as belows: 1) add "panGestureRecognizer" property into RESideMenu.m, and let it point to "pan" gesture of view. 2) rewrite the "set" method of "panGestureEnabled" to change the "enable" property of "panGestureRecongnizer" Best Regards.