{"action":"created","comment":{"url":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls/comments/93057147","pull_request_review_id":13574685,"id":93057147,"diff_hunk":"@@ -0,0 +1,40 @@\n+//\n+//  UIWindow+RootViewController.swift\n+//  Swiftilities\n+//\n+//  Created by Nicholas Bonatsakis on 2/5/16.\n+//  Copyright © 2016 Raizlabs. All rights reserved.\n+//\n+\n+import UIKit\n+\n+/**\n+ *  UIWindow extension for setting the rootViewController on a UIWindow instance in a safe and animatable way.\n+ */\n+public extension UIWindow {\n+\n+    /**\n+     Set the rootViewController on this UIWindow instance.\n+\n+     - parameter viewController: The view controller to set\n+     - parameter animated:       Whether or not to animate the transition, animation is a cross-fade\n+     - parameter completion:     Completion block to be invoked after the transition finishes\n+     */\n+    @nonobjc func setRootViewController(_ viewController: UIViewController, animated: Bool, completion: @escaping () -> Void = {}) {\n+        if animated {\n+\n+            UIView.transition(with: self, duration: 0.3, options: .transitionCrossDissolve, animations: { () -> Void in","path":"Sources/Extensions/UIWindow+RootViewController.swift","position":26,"original_position":26,"commit_id":"a50996d5089dbc27686cbfadcb40718e7985085b","original_commit_id":"a50996d5089dbc27686cbfadcb40718e7985085b","user":{"login":"mkj-is","id":708312,"avatar_url":"https://avatars.githubusercontent.com/u/708312?v=3","gravatar_id":"","url":"https://api.github.com/users/mkj-is","html_url":"https://github.com/mkj-is","followers_url":"https://api.github.com/users/mkj-is/followers","following_url":"https://api.github.com/users/mkj-is/following{/other_user}","gists_url":"https://api.github.com/users/mkj-is/gists{/gist_id}","starred_url":"https://api.github.com/users/mkj-is/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkj-is/subscriptions","organizations_url":"https://api.github.com/users/mkj-is/orgs","repos_url":"https://api.github.com/users/mkj-is/repos","events_url":"https://api.github.com/users/mkj-is/events{/privacy}","received_events_url":"https://api.github.com/users/mkj-is/received_events","type":"User","site_admin":false},"body":"Maybe add the durartion to function paramater with default value.","created_at":"2016-12-19T15:47:02Z","updated_at":"2016-12-19T15:51:26Z","html_url":"https://github.com/thefuntasty/FuntastyKit/pull/1#discussion_r93057147","pull_request_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls/comments/93057147"},"html":{"href":"https://github.com/thefuntasty/FuntastyKit/pull/1#discussion_r93057147"},"pull_request":{"href":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls/1","id":98558331,"html_url":"https://github.com/thefuntasty/FuntastyKit/pull/1","diff_url":"https://github.com/thefuntasty/FuntastyKit/pull/1.diff","patch_url":"https://github.com/thefuntasty/FuntastyKit/pull/1.patch","issue_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/issues/1","number":1,"state":"open","locked":false,"title":"Base project, few introductionary utilities","user":{"login":"zvonicek","id":1540564,"avatar_url":"https://avatars.githubusercontent.com/u/1540564?v=3","gravatar_id":"","url":"https://api.github.com/users/zvonicek","html_url":"https://github.com/zvonicek","followers_url":"https://api.github.com/users/zvonicek/followers","following_url":"https://api.github.com/users/zvonicek/following{/other_user}","gists_url":"https://api.github.com/users/zvonicek/gists{/gist_id}","starred_url":"https://api.github.com/users/zvonicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zvonicek/subscriptions","organizations_url":"https://api.github.com/users/zvonicek/orgs","repos_url":"https://api.github.com/users/zvonicek/repos","events_url":"https://api.github.com/users/zvonicek/events{/privacy}","received_events_url":"https://api.github.com/users/zvonicek/received_events","type":"User","site_admin":false},"body":"- Support for CocoaPods, Carthage, SwiftPM\r\n- iOS, MacOS, tvOS, watchOS targets\r\n- Coordinator, SessionHolder, Nibable, Keyboardable, HairlineLayoutConstraint, UIView Extensions, proper UITableView/UICollectionView deselection handling","created_at":"2016-12-19T12:38:42Z","updated_at":"2016-12-19T15:51:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2eb2fe0cd30075c41286476f6f9da94838506016","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls/1/commits","review_comments_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls/1/comments","review_comment_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/issues/1/comments","statuses_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/statuses/a50996d5089dbc27686cbfadcb40718e7985085b","head":{"label":"zvonicek:master","ref":"master","sha":"a50996d5089dbc27686cbfadcb40718e7985085b","user":{"login":"zvonicek","id":1540564,"avatar_url":"https://avatars.githubusercontent.com/u/1540564?v=3","gravatar_id":"","url":"https://api.github.com/users/zvonicek","html_url":"https://github.com/zvonicek","followers_url":"https://api.github.com/users/zvonicek/followers","following_url":"https://api.github.com/users/zvonicek/following{/other_user}","gists_url":"https://api.github.com/users/zvonicek/gists{/gist_id}","starred_url":"https://api.github.com/users/zvonicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zvonicek/subscriptions","organizations_url":"https://api.github.com/users/zvonicek/orgs","repos_url":"https://api.github.com/users/zvonicek/repos","events_url":"https://api.github.com/users/zvonicek/events{/privacy}","received_events_url":"https://api.github.com/users/zvonicek/received_events","type":"User","site_admin":false},"repo":{"id":76852781,"name":"FuntastyKit","full_name":"zvonicek/FuntastyKit","owner":{"login":"zvonicek","id":1540564,"avatar_url":"https://avatars.githubusercontent.com/u/1540564?v=3","gravatar_id":"","url":"https://api.github.com/users/zvonicek","html_url":"https://github.com/zvonicek","followers_url":"https://api.github.com/users/zvonicek/followers","following_url":"https://api.github.com/users/zvonicek/following{/other_user}","gists_url":"https://api.github.com/users/zvonicek/gists{/gist_id}","starred_url":"https://api.github.com/users/zvonicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zvonicek/subscriptions","organizations_url":"https://api.github.com/users/zvonicek/orgs","repos_url":"https://api.github.com/users/zvonicek/repos","events_url":"https://api.github.com/users/zvonicek/events{/privacy}","received_events_url":"https://api.github.com/users/zvonicek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zvonicek/FuntastyKit","description":null,"fork":true,"url":"https://api.github.com/repos/zvonicek/FuntastyKit","forks_url":"https://api.github.com/repos/zvonicek/FuntastyKit/forks","keys_url":"https://api.github.com/repos/zvonicek/FuntastyKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zvonicek/FuntastyKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zvonicek/FuntastyKit/teams","hooks_url":"https://api.github.com/repos/zvonicek/FuntastyKit/hooks","issue_events_url":"https://api.github.com/repos/zvonicek/FuntastyKit/issues/events{/number}","events_url":"https://api.github.com/repos/zvonicek/FuntastyKit/events","assignees_url":"https://api.github.com/repos/zvonicek/FuntastyKit/assignees{/user}","branches_url":"https://api.github.com/repos/zvonicek/FuntastyKit/branches{/branch}","tags_url":"https://api.github.com/repos/zvonicek/FuntastyKit/tags","blobs_url":"https://api.github.com/repos/zvonicek/FuntastyKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zvonicek/FuntastyKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zvonicek/FuntastyKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/zvonicek/FuntastyKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zvonicek/FuntastyKit/statuses/{sha}","languages_url":"https://api.github.com/repos/zvonicek/FuntastyKit/languages","stargazers_url":"https://api.github.com/repos/zvonicek/FuntastyKit/stargazers","contributors_url":"https://api.github.com/repos/zvonicek/FuntastyKit/contributors","subscribers_url":"https://api.github.com/repos/zvonicek/FuntastyKit/subscribers","subscription_url":"https://api.github.com/repos/zvonicek/FuntastyKit/subscription","commits_url":"https://api.github.com/repos/zvonicek/FuntastyKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/zvonicek/FuntastyKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/zvonicek/FuntastyKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/zvonicek/FuntastyKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/zvonicek/FuntastyKit/contents/{+path}","compare_url":"https://api.github.com/repos/zvonicek/FuntastyKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zvonicek/FuntastyKit/merges","archive_url":"https://api.github.com/repos/zvonicek/FuntastyKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zvonicek/FuntastyKit/downloads","issues_url":"https://api.github.com/repos/zvonicek/FuntastyKit/issues{/number}","pulls_url":"https://api.github.com/repos/zvonicek/FuntastyKit/pulls{/number}","milestones_url":"https://api.github.com/repos/zvonicek/FuntastyKit/milestones{/number}","notifications_url":"https://api.github.com/repos/zvonicek/FuntastyKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zvonicek/FuntastyKit/labels{/name}","releases_url":"https://api.github.com/repos/zvonicek/FuntastyKit/releases{/id}","deployments_url":"https://api.github.com/repos/zvonicek/FuntastyKit/deployments","created_at":"2016-12-19T10:32:30Z","updated_at":"2016-12-19T12:28:02Z","pushed_at":"2016-12-19T13:12:14Z","git_url":"git://github.com/zvonicek/FuntastyKit.git","ssh_url":"git@github.com:zvonicek/FuntastyKit.git","clone_url":"https://github.com/zvonicek/FuntastyKit.git","svn_url":"https://github.com/zvonicek/FuntastyKit","homepage":null,"size":28,"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":"thefuntasty:master","ref":"master","sha":"8080d36da0391c89a5fd703d40a162b34b062762","user":{"login":"thefuntasty","id":11898967,"avatar_url":"https://avatars.githubusercontent.com/u/11898967?v=3","gravatar_id":"","url":"https://api.github.com/users/thefuntasty","html_url":"https://github.com/thefuntasty","followers_url":"https://api.github.com/users/thefuntasty/followers","following_url":"https://api.github.com/users/thefuntasty/following{/other_user}","gists_url":"https://api.github.com/users/thefuntasty/gists{/gist_id}","starred_url":"https://api.github.com/users/thefuntasty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefuntasty/subscriptions","organizations_url":"https://api.github.com/users/thefuntasty/orgs","repos_url":"https://api.github.com/users/thefuntasty/repos","events_url":"https://api.github.com/users/thefuntasty/events{/privacy}","received_events_url":"https://api.github.com/users/thefuntasty/received_events","type":"Organization","site_admin":false},"repo":{"id":76852669,"name":"FuntastyKit","full_name":"thefuntasty/FuntastyKit","owner":{"login":"thefuntasty","id":11898967,"avatar_url":"https://avatars.githubusercontent.com/u/11898967?v=3","gravatar_id":"","url":"https://api.github.com/users/thefuntasty","html_url":"https://github.com/thefuntasty","followers_url":"https://api.github.com/users/thefuntasty/followers","following_url":"https://api.github.com/users/thefuntasty/following{/other_user}","gists_url":"https://api.github.com/users/thefuntasty/gists{/gist_id}","starred_url":"https://api.github.com/users/thefuntasty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefuntasty/subscriptions","organizations_url":"https://api.github.com/users/thefuntasty/orgs","repos_url":"https://api.github.com/users/thefuntasty/repos","events_url":"https://api.github.com/users/thefuntasty/events{/privacy}","received_events_url":"https://api.github.com/users/thefuntasty/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thefuntasty/FuntastyKit","description":"A collection of Swift utilities and protocols used in our projects","fork":false,"url":"https://api.github.com/repos/thefuntasty/FuntastyKit","forks_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/forks","keys_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/teams","hooks_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/hooks","issue_events_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/issues/events{/number}","events_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/events","assignees_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/assignees{/user}","branches_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/branches{/branch}","tags_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/tags","blobs_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/statuses/{sha}","languages_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/languages","stargazers_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/stargazers","contributors_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/contributors","subscribers_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/subscribers","subscription_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/subscription","commits_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/contents/{+path}","compare_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/merges","archive_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/downloads","issues_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/issues{/number}","pulls_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls{/number}","milestones_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/milestones{/number}","notifications_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/labels{/name}","releases_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/releases{/id}","deployments_url":"https://api.github.com/repos/thefuntasty/FuntastyKit/deployments","created_at":"2016-12-19T10:30:45Z","updated_at":"2016-12-19T12:40:33Z","pushed_at":"2016-12-19T13:12:14Z","git_url":"git://github.com/thefuntasty/FuntastyKit.git","ssh_url":"git@github.com:thefuntasty/FuntastyKit.git","clone_url":"https://github.com/thefuntasty/FuntastyKit.git","svn_url":"https://github.com/thefuntasty/FuntastyKit","homepage":"","size":1,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls/1"},"html":{"href":"https://github.com/thefuntasty/FuntastyKit/pull/1"},"issue":{"href":"https://api.github.com/repos/thefuntasty/FuntastyKit/issues/1"},"comments":{"href":"https://api.github.com/repos/thefuntasty/FuntastyKit/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thefuntasty/FuntastyKit/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/thefuntasty/FuntastyKit/statuses/a50996d5089dbc27686cbfadcb40718e7985085b"}}}}
{"actor":{"display_login":"mkj-is"}}