{"action":"created","issue":{"url":"https://api.github.com/repos/mutualmobile/MMDrawerController/issues/407","labels_url":"https://api.github.com/repos/mutualmobile/MMDrawerController/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/mutualmobile/MMDrawerController/issues/407/comments","events_url":"https://api.github.com/repos/mutualmobile/MMDrawerController/issues/407/events","html_url":"https://github.com/mutualmobile/MMDrawerController/issues/407","id":111441030,"number":407,"title":"best way to delete table row under MMDrawerController","user":{"login":"davidnomo","id":6434642,"avatar_url":"https://avatars.githubusercontent.com/u/6434642?v=3","gravatar_id":"","url":"https://api.github.com/users/davidnomo","html_url":"https://github.com/davidnomo","followers_url":"https://api.github.com/users/davidnomo/followers","following_url":"https://api.github.com/users/davidnomo/following{/other_user}","gists_url":"https://api.github.com/users/davidnomo/gists{/gist_id}","starred_url":"https://api.github.com/users/davidnomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidnomo/subscriptions","organizations_url":"https://api.github.com/users/davidnomo/orgs","repos_url":"https://api.github.com/users/davidnomo/repos","events_url":"https://api.github.com/users/davidnomo/events{/privacy}","received_events_url":"https://api.github.com/users/davidnomo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-14T16:48:25Z","updated_at":"2015-12-01T21:13:08Z","closed_at":null,"body":"Hi there,\r\n\r\nI need to delete tablerow under MMDrawerController on ios swift. But swiper/gesture control goes to MMDrawerController. what is the best way to delete table row under the controller?\r\nTried too disable MMDrawerController for given viewcontroller but it was not much fun.\r\nis there any one implement this functionality under MMDrawerController pls share.\r\nThanks"},"comment":{"url":"https://api.github.com/repos/mutualmobile/MMDrawerController/issues/comments/161097378","html_url":"https://github.com/mutualmobile/MMDrawerController/issues/407#issuecomment-161097378","issue_url":"https://api.github.com/repos/mutualmobile/MMDrawerController/issues/407","id":161097378,"user":{"login":"ilidar","id":2097662,"avatar_url":"https://avatars.githubusercontent.com/u/2097662?v=3","gravatar_id":"","url":"https://api.github.com/users/ilidar","html_url":"https://github.com/ilidar","followers_url":"https://api.github.com/users/ilidar/followers","following_url":"https://api.github.com/users/ilidar/following{/other_user}","gists_url":"https://api.github.com/users/ilidar/gists{/gist_id}","starred_url":"https://api.github.com/users/ilidar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilidar/subscriptions","organizations_url":"https://api.github.com/users/ilidar/orgs","repos_url":"https://api.github.com/users/ilidar/repos","events_url":"https://api.github.com/users/ilidar/events{/privacy}","received_events_url":"https://api.github.com/users/ilidar/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T21:13:08Z","updated_at":"2015-12-01T21:13:08Z","body":"Something like that could work for you:\r\n```\r\n__typeof(self) __weak weakSelf = self;\r\n  [self.drawerController setGestureShouldRecognizeTouchBlock:\r\n    ^BOOL(MMDrawerController *drawerController, UIGestureRecognizer *gesture, UITouch *touch) {\r\n      CGPoint location = [touch locationInView:weakSelf.window];\r\n      CGFloat width = CGRectGetWidth([UIScreen mainScreen].bounds);\r\n      return 3.0f * location.x <= 2.0f * width;\r\n    }];\r\n```"}}