{"action":"created","comment":{"url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls/comments/90693906","pull_request_review_id":11213978,"id":90693906,"diff_hunk":"@@ -224,7 +224,12 @@ extension UIViewController {\n     public func popVC() {\n         _ = navigationController?.popViewController(animated: true)\n     }\n-\n+    \n+    /// EZSwiftExtensions\n+    public func popToRootVC() {\n+        _ = navigationController?.popToRootViewController(animated: true)","path":"Sources/UIViewControllerExtensions.swift","position":8,"original_position":8,"commit_id":"295766b1036e75d5ab01e76b5519c578b2a86efd","original_commit_id":"295766b1036e75d5ab01e76b5519c578b2a86efd","user":{"login":"lfarah","id":6511079,"avatar_url":"https://avatars.githubusercontent.com/u/6511079?v=3","gravatar_id":"","url":"https://api.github.com/users/lfarah","html_url":"https://github.com/lfarah","followers_url":"https://api.github.com/users/lfarah/followers","following_url":"https://api.github.com/users/lfarah/following{/other_user}","gists_url":"https://api.github.com/users/lfarah/gists{/gist_id}","starred_url":"https://api.github.com/users/lfarah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfarah/subscriptions","organizations_url":"https://api.github.com/users/lfarah/orgs","repos_url":"https://api.github.com/users/lfarah/repos","events_url":"https://api.github.com/users/lfarah/events{/privacy}","received_events_url":"https://api.github.com/users/lfarah/received_events","type":"User","site_admin":false},"body":"I personally never use this values, so I think it's ok.\r\n\r\n@piv199 how do you use this returned value?","created_at":"2016-12-02T18:28:31Z","updated_at":"2016-12-02T18:28:31Z","html_url":"https://github.com/goktugyil/EZSwiftExtensions/pull/330#discussion_r90693906","pull_request_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls/330","_links":{"self":{"href":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls/comments/90693906"},"html":{"href":"https://github.com/goktugyil/EZSwiftExtensions/pull/330#discussion_r90693906"},"pull_request":{"href":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls/330"}}},"pull_request":{"url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls/330","id":96189861,"html_url":"https://github.com/goktugyil/EZSwiftExtensions/pull/330","diff_url":"https://github.com/goktugyil/EZSwiftExtensions/pull/330.diff","patch_url":"https://github.com/goktugyil/EZSwiftExtensions/pull/330.patch","issue_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/issues/330","number":330,"state":"open","locked":false,"title":"added extension for popToRootViewController","user":{"login":"vilapuigvila","id":4160596,"avatar_url":"https://avatars.githubusercontent.com/u/4160596?v=3","gravatar_id":"","url":"https://api.github.com/users/vilapuigvila","html_url":"https://github.com/vilapuigvila","followers_url":"https://api.github.com/users/vilapuigvila/followers","following_url":"https://api.github.com/users/vilapuigvila/following{/other_user}","gists_url":"https://api.github.com/users/vilapuigvila/gists{/gist_id}","starred_url":"https://api.github.com/users/vilapuigvila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vilapuigvila/subscriptions","organizations_url":"https://api.github.com/users/vilapuigvila/orgs","repos_url":"https://api.github.com/users/vilapuigvila/repos","events_url":"https://api.github.com/users/vilapuigvila/events{/privacy}","received_events_url":"https://api.github.com/users/vilapuigvila/received_events","type":"User","site_admin":false},"body":"## Checklist\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! 😬 -->\r\n- [x] New Extension\r\n- [ ] New Test\r\n- [ ] Changed more than one extension, but all changes are related\r\n- [ ] Trivial change (doesn't require changelog)\r\n\r\n","created_at":"2016-12-01T23:09:11Z","updated_at":"2016-12-02T18:28:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f9c450f739f582a77d647a53dca6356b1ec2bec","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls/330/commits","review_comments_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls/330/comments","review_comment_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/issues/330/comments","statuses_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/statuses/295766b1036e75d5ab01e76b5519c578b2a86efd","head":{"label":"vilapuigvila:vilapuigvila-viewcontroller","ref":"vilapuigvila-viewcontroller","sha":"295766b1036e75d5ab01e76b5519c578b2a86efd","user":{"login":"vilapuigvila","id":4160596,"avatar_url":"https://avatars.githubusercontent.com/u/4160596?v=3","gravatar_id":"","url":"https://api.github.com/users/vilapuigvila","html_url":"https://github.com/vilapuigvila","followers_url":"https://api.github.com/users/vilapuigvila/followers","following_url":"https://api.github.com/users/vilapuigvila/following{/other_user}","gists_url":"https://api.github.com/users/vilapuigvila/gists{/gist_id}","starred_url":"https://api.github.com/users/vilapuigvila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vilapuigvila/subscriptions","organizations_url":"https://api.github.com/users/vilapuigvila/orgs","repos_url":"https://api.github.com/users/vilapuigvila/repos","events_url":"https://api.github.com/users/vilapuigvila/events{/privacy}","received_events_url":"https://api.github.com/users/vilapuigvila/received_events","type":"User","site_admin":false},"repo":{"id":72956219,"name":"EZSwiftExtensions","full_name":"vilapuigvila/EZSwiftExtensions","owner":{"login":"vilapuigvila","id":4160596,"avatar_url":"https://avatars.githubusercontent.com/u/4160596?v=3","gravatar_id":"","url":"https://api.github.com/users/vilapuigvila","html_url":"https://github.com/vilapuigvila","followers_url":"https://api.github.com/users/vilapuigvila/followers","following_url":"https://api.github.com/users/vilapuigvila/following{/other_user}","gists_url":"https://api.github.com/users/vilapuigvila/gists{/gist_id}","starred_url":"https://api.github.com/users/vilapuigvila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vilapuigvila/subscriptions","organizations_url":"https://api.github.com/users/vilapuigvila/orgs","repos_url":"https://api.github.com/users/vilapuigvila/repos","events_url":"https://api.github.com/users/vilapuigvila/events{/privacy}","received_events_url":"https://api.github.com/users/vilapuigvila/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vilapuigvila/EZSwiftExtensions","description":":smirk: How Swift standard types and classes were supposed to work.","fork":true,"url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions","forks_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/forks","keys_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/teams","hooks_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/hooks","issue_events_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/issues/events{/number}","events_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/events","assignees_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/assignees{/user}","branches_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/branches{/branch}","tags_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/tags","blobs_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/statuses/{sha}","languages_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/languages","stargazers_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/stargazers","contributors_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/contributors","subscribers_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/subscribers","subscription_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/subscription","commits_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/contents/{+path}","compare_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/merges","archive_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/downloads","issues_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/issues{/number}","pulls_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/pulls{/number}","milestones_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/milestones{/number}","notifications_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/labels{/name}","releases_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/releases{/id}","deployments_url":"https://api.github.com/repos/vilapuigvila/EZSwiftExtensions/deployments","created_at":"2016-11-05T22:13:25Z","updated_at":"2016-11-05T22:13:26Z","pushed_at":"2016-12-01T23:13:04Z","git_url":"git://github.com/vilapuigvila/EZSwiftExtensions.git","ssh_url":"git@github.com:vilapuigvila/EZSwiftExtensions.git","clone_url":"https://github.com/vilapuigvila/EZSwiftExtensions.git","svn_url":"https://github.com/vilapuigvila/EZSwiftExtensions","homepage":null,"size":999,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"goktugyil:master","ref":"master","sha":"bbfbfa0b1b69d502f2a953ee3349ff410933deb5","user":{"login":"goktugyil","id":5816878,"avatar_url":"https://avatars.githubusercontent.com/u/5816878?v=3","gravatar_id":"","url":"https://api.github.com/users/goktugyil","html_url":"https://github.com/goktugyil","followers_url":"https://api.github.com/users/goktugyil/followers","following_url":"https://api.github.com/users/goktugyil/following{/other_user}","gists_url":"https://api.github.com/users/goktugyil/gists{/gist_id}","starred_url":"https://api.github.com/users/goktugyil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goktugyil/subscriptions","organizations_url":"https://api.github.com/users/goktugyil/orgs","repos_url":"https://api.github.com/users/goktugyil/repos","events_url":"https://api.github.com/users/goktugyil/events{/privacy}","received_events_url":"https://api.github.com/users/goktugyil/received_events","type":"User","site_admin":false},"repo":{"id":46181416,"name":"EZSwiftExtensions","full_name":"goktugyil/EZSwiftExtensions","owner":{"login":"goktugyil","id":5816878,"avatar_url":"https://avatars.githubusercontent.com/u/5816878?v=3","gravatar_id":"","url":"https://api.github.com/users/goktugyil","html_url":"https://github.com/goktugyil","followers_url":"https://api.github.com/users/goktugyil/followers","following_url":"https://api.github.com/users/goktugyil/following{/other_user}","gists_url":"https://api.github.com/users/goktugyil/gists{/gist_id}","starred_url":"https://api.github.com/users/goktugyil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goktugyil/subscriptions","organizations_url":"https://api.github.com/users/goktugyil/orgs","repos_url":"https://api.github.com/users/goktugyil/repos","events_url":"https://api.github.com/users/goktugyil/events{/privacy}","received_events_url":"https://api.github.com/users/goktugyil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/goktugyil/EZSwiftExtensions","description":":smirk: How Swift standard types and classes were supposed to work.","fork":false,"url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions","forks_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/forks","keys_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/teams","hooks_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/hooks","issue_events_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/issues/events{/number}","events_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/events","assignees_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/assignees{/user}","branches_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/branches{/branch}","tags_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/tags","blobs_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/statuses/{sha}","languages_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/languages","stargazers_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/stargazers","contributors_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/contributors","subscribers_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/subscribers","subscription_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/subscription","commits_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/contents/{+path}","compare_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/merges","archive_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/downloads","issues_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/issues{/number}","pulls_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls{/number}","milestones_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/milestones{/number}","notifications_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/labels{/name}","releases_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/releases{/id}","deployments_url":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/deployments","created_at":"2015-11-14T16:10:25Z","updated_at":"2016-12-02T08:57:53Z","pushed_at":"2016-12-01T23:13:04Z","git_url":"git://github.com/goktugyil/EZSwiftExtensions.git","ssh_url":"git@github.com:goktugyil/EZSwiftExtensions.git","clone_url":"https://github.com/goktugyil/EZSwiftExtensions.git","svn_url":"https://github.com/goktugyil/EZSwiftExtensions","homepage":null,"size":1203,"stargazers_count":1759,"watchers_count":1759,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":207,"mirror_url":null,"open_issues_count":23,"forks":207,"open_issues":23,"watchers":1759,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls/330"},"html":{"href":"https://github.com/goktugyil/EZSwiftExtensions/pull/330"},"issue":{"href":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/issues/330"},"comments":{"href":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/issues/330/comments"},"review_comments":{"href":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls/330/comments"},"review_comment":{"href":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/pulls/330/commits"},"statuses":{"href":"https://api.github.com/repos/goktugyil/EZSwiftExtensions/statuses/295766b1036e75d5ab01e76b5519c578b2a86efd"}}}}
{"actor":{"display_login":"lfarah"}}