{"action":"created","issue":{"url":"https://api.github.com/repos/dekatotoro/SlideMenuControllerSwift/issues/200","repository_url":"https://api.github.com/repos/dekatotoro/SlideMenuControllerSwift","labels_url":"https://api.github.com/repos/dekatotoro/SlideMenuControllerSwift/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/dekatotoro/SlideMenuControllerSwift/issues/200/comments","events_url":"https://api.github.com/repos/dekatotoro/SlideMenuControllerSwift/issues/200/events","html_url":"https://github.com/dekatotoro/SlideMenuControllerSwift/issues/200","id":169073512,"number":200,"title":"Prevent slide menu from opening on a particular UIviewController","user":{"login":"harshvishu","id":10331536,"avatar_url":"https://avatars.githubusercontent.com/u/10331536?v=3","gravatar_id":"","url":"https://api.github.com/users/harshvishu","html_url":"https://github.com/harshvishu","followers_url":"https://api.github.com/users/harshvishu/followers","following_url":"https://api.github.com/users/harshvishu/following{/other_user}","gists_url":"https://api.github.com/users/harshvishu/gists{/gist_id}","starred_url":"https://api.github.com/users/harshvishu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshvishu/subscriptions","organizations_url":"https://api.github.com/users/harshvishu/orgs","repos_url":"https://api.github.com/users/harshvishu/repos","events_url":"https://api.github.com/users/harshvishu/events{/privacy}","received_events_url":"https://api.github.com/users/harshvishu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-03T08:15:13Z","updated_at":"2016-08-09T14:57:03Z","closed_at":null,"body":"Is there an easy way to disable the gestures to open slide menu on some controllers.\r\n\r\nCurrently I am using it in this way.\r\n\r\n> AppDelegate\r\n \r\n\r\n```\r\nlet menu = mainStoryboard.instantiateViewControllerWithIdentifier(\"SlideMenuViewControllerStoryBoard\")\r\nlet mainController = mainStoryboard.instantiateViewControllerWithIdentifier(\"InspectionParentNavigationControllerStoryBaord\")\r\n        \r\nlet slideMenuController = SlideMenuController(mainViewController: mainController, leftMenuViewController: menu)\r\nself.window?.rootViewController = slideMenuController\r\nself.window?.makeKeyAndVisible()\r\n```\r\n\r\n\r\n**When using a UINavigationController, I don't want slide menu to appear in the child view controllers.**\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dekatotoro/SlideMenuControllerSwift/issues/comments/238580220","html_url":"https://github.com/dekatotoro/SlideMenuControllerSwift/issues/200#issuecomment-238580220","issue_url":"https://api.github.com/repos/dekatotoro/SlideMenuControllerSwift/issues/200","id":238580220,"user":{"login":"sravanco","id":10870302,"avatar_url":"https://avatars.githubusercontent.com/u/10870302?v=3","gravatar_id":"","url":"https://api.github.com/users/sravanco","html_url":"https://github.com/sravanco","followers_url":"https://api.github.com/users/sravanco/followers","following_url":"https://api.github.com/users/sravanco/following{/other_user}","gists_url":"https://api.github.com/users/sravanco/gists{/gist_id}","starred_url":"https://api.github.com/users/sravanco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sravanco/subscriptions","organizations_url":"https://api.github.com/users/sravanco/orgs","repos_url":"https://api.github.com/users/sravanco/repos","events_url":"https://api.github.com/users/sravanco/events{/privacy}","received_events_url":"https://api.github.com/users/sravanco/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T14:57:03Z","updated_at":"2016-08-09T14:57:03Z","body":"I just met with this problem and solved it by,\r\nCalling  removeLeftGestures() at viewWillAppear() of ChildViewController\r\nand calling back addLeftGestures()  at viewWillDisappear() of ChildViewController\r\nHope this helps."}}
{"actor":{"display_login":"sravanco"}}