{"action":"created","issue":{"url":"https://api.github.com/repos/John-Lluch/SWRevealViewController/issues/528","labels_url":"https://api.github.com/repos/John-Lluch/SWRevealViewController/issues/528/labels{/name}","comments_url":"https://api.github.com/repos/John-Lluch/SWRevealViewController/issues/528/comments","events_url":"https://api.github.com/repos/John-Lluch/SWRevealViewController/issues/528/events","html_url":"https://github.com/John-Lluch/SWRevealViewController/issues/528","id":123127807,"number":528,"title":"Test if side menu is open","user":{"login":"JMStudiosJoe","id":4028643,"avatar_url":"https://avatars.githubusercontent.com/u/4028643?v=3","gravatar_id":"","url":"https://api.github.com/users/JMStudiosJoe","html_url":"https://github.com/JMStudiosJoe","followers_url":"https://api.github.com/users/JMStudiosJoe/followers","following_url":"https://api.github.com/users/JMStudiosJoe/following{/other_user}","gists_url":"https://api.github.com/users/JMStudiosJoe/gists{/gist_id}","starred_url":"https://api.github.com/users/JMStudiosJoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMStudiosJoe/subscriptions","organizations_url":"https://api.github.com/users/JMStudiosJoe/orgs","repos_url":"https://api.github.com/users/JMStudiosJoe/repos","events_url":"https://api.github.com/users/JMStudiosJoe/events{/privacy}","received_events_url":"https://api.github.com/users/JMStudiosJoe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-20T02:32:59Z","updated_at":"2015-12-20T04:08:40Z","closed_at":"2015-12-20T04:08:40Z","body":"Hello, I need to do something like this. I have been going through the list of methods within the self.revealViewController object but couldn't find what I need. Please help and thank you!\r\n\r\noverride func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?)\r\n    {\r\n       if // side menu is open\r\n           //close side menu\r\n      else\r\n           //do nothing\r\n    }"},"comment":{"url":"https://api.github.com/repos/John-Lluch/SWRevealViewController/issues/comments/166061078","html_url":"https://github.com/John-Lluch/SWRevealViewController/issues/528#issuecomment-166061078","issue_url":"https://api.github.com/repos/John-Lluch/SWRevealViewController/issues/528","id":166061078,"user":{"login":"JMStudiosJoe","id":4028643,"avatar_url":"https://avatars.githubusercontent.com/u/4028643?v=3","gravatar_id":"","url":"https://api.github.com/users/JMStudiosJoe","html_url":"https://github.com/JMStudiosJoe","followers_url":"https://api.github.com/users/JMStudiosJoe/followers","following_url":"https://api.github.com/users/JMStudiosJoe/following{/other_user}","gists_url":"https://api.github.com/users/JMStudiosJoe/gists{/gist_id}","starred_url":"https://api.github.com/users/JMStudiosJoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMStudiosJoe/subscriptions","organizations_url":"https://api.github.com/users/JMStudiosJoe/orgs","repos_url":"https://api.github.com/users/JMStudiosJoe/repos","events_url":"https://api.github.com/users/JMStudiosJoe/events{/privacy}","received_events_url":"https://api.github.com/users/JMStudiosJoe/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T04:08:40Z","updated_at":"2015-12-20T04:08:40Z","body":"Ended up using delegate method willMoveToPosition to trigger a flag.. can close"}}