{"action":"created","issue":{"url":"https://api.github.com/repos/evnaz/ENSwiftSideMenu/issues/181","repository_url":"https://api.github.com/repos/evnaz/ENSwiftSideMenu","labels_url":"https://api.github.com/repos/evnaz/ENSwiftSideMenu/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/evnaz/ENSwiftSideMenu/issues/181/comments","events_url":"https://api.github.com/repos/evnaz/ENSwiftSideMenu/issues/181/events","html_url":"https://github.com/evnaz/ENSwiftSideMenu/issues/181","id":295783362,"number":181,"title":"Logout screen","user":{"login":"atalayasa","id":12723138,"avatar_url":"https://avatars1.githubusercontent.com/u/12723138?v=4","gravatar_id":"","url":"https://api.github.com/users/atalayasa","html_url":"https://github.com/atalayasa","followers_url":"https://api.github.com/users/atalayasa/followers","following_url":"https://api.github.com/users/atalayasa/following{/other_user}","gists_url":"https://api.github.com/users/atalayasa/gists{/gist_id}","starred_url":"https://api.github.com/users/atalayasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atalayasa/subscriptions","organizations_url":"https://api.github.com/users/atalayasa/orgs","repos_url":"https://api.github.com/users/atalayasa/repos","events_url":"https://api.github.com/users/atalayasa/events{/privacy}","received_events_url":"https://api.github.com/users/atalayasa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-09T07:54:27Z","updated_at":"2018-02-12T10:56:28Z","closed_at":null,"author_association":"NONE","body":"I have login screen and in the next page EnSwiftSide navigation controller. When I press logout from table view it needs to go back first screen I have tried unwind segue but It did not work properly. How can I go back initial view controller when I press logout? Thanks"},"comment":{"url":"https://api.github.com/repos/evnaz/ENSwiftSideMenu/issues/comments/364889434","html_url":"https://github.com/evnaz/ENSwiftSideMenu/issues/181#issuecomment-364889434","issue_url":"https://api.github.com/repos/evnaz/ENSwiftSideMenu/issues/181","id":364889434,"user":{"login":"frestoinc","id":26918952,"avatar_url":"https://avatars0.githubusercontent.com/u/26918952?v=4","gravatar_id":"","url":"https://api.github.com/users/frestoinc","html_url":"https://github.com/frestoinc","followers_url":"https://api.github.com/users/frestoinc/followers","following_url":"https://api.github.com/users/frestoinc/following{/other_user}","gists_url":"https://api.github.com/users/frestoinc/gists{/gist_id}","starred_url":"https://api.github.com/users/frestoinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frestoinc/subscriptions","organizations_url":"https://api.github.com/users/frestoinc/orgs","repos_url":"https://api.github.com/users/frestoinc/repos","events_url":"https://api.github.com/users/frestoinc/events{/privacy}","received_events_url":"https://api.github.com/users/frestoinc/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T10:56:28Z","updated_at":"2018-02-12T10:56:28Z","author_association":"NONE","body":"Assuming that you using a navigation controller for your login screen u can use self.view.window?.rootViewController?.dismiss(animated:true, completion: nil) to return to rootviewcontroller"}}
{"actor":{"display_login":"frestoinc"}}