{"action":"created","comment":{"url":"https://api.github.com/repos/ovenbits/Alexandria/pulls/comments/54111760","id":54111760,"diff_hunk":"@@ -57,6 +57,18 @@ extension UIColor {\n         self.init(hex: hexEquivalent)\n     }\n     \n+    /**\n+     Returns a UIColor initialized with color components divided by 255.0.\n+     - parameter red: Integer representation of the red component in range of 0-255\n+     - parameter green: Integer representation of the green component in range of 0-255\n+     - parameter blue: Integer representation of the blue component in range of 0-255\n+     - parameter alpha: CGFloat representation of the alpha component in range of 0-1\n+    */\n+    @nonobjc","path":"Sources/UIColor+Extensions.swift","position":11,"original_position":11,"commit_id":"3127ee9c1d6dd4ba9e96578be3c07ac51683480f","original_commit_id":"3127ee9c1d6dd4ba9e96578be3c07ac51683480f","user":{"login":"apcorc","id":1735515,"avatar_url":"https://avatars.githubusercontent.com/u/1735515?v=3","gravatar_id":"","url":"https://api.github.com/users/apcorc","html_url":"https://github.com/apcorc","followers_url":"https://api.github.com/users/apcorc/followers","following_url":"https://api.github.com/users/apcorc/following{/other_user}","gists_url":"https://api.github.com/users/apcorc/gists{/gist_id}","starred_url":"https://api.github.com/users/apcorc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apcorc/subscriptions","organizations_url":"https://api.github.com/users/apcorc/orgs","repos_url":"https://api.github.com/users/apcorc/repos","events_url":"https://api.github.com/users/apcorc/events{/privacy}","received_events_url":"https://api.github.com/users/apcorc/received_events","type":"User","site_admin":false},"body":"You can't overload the method signature of `init(red: green: blue: alpha:)` in Obj-C but Swift can figure out the difference by the types.","created_at":"2016-02-25T15:29:31Z","updated_at":"2016-02-25T15:29:31Z","html_url":"https://github.com/ovenbits/Alexandria/pull/8#discussion_r54111760","pull_request_url":"https://api.github.com/repos/ovenbits/Alexandria/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/ovenbits/Alexandria/pulls/comments/54111760"},"html":{"href":"https://github.com/ovenbits/Alexandria/pull/8#discussion_r54111760"},"pull_request":{"href":"https://api.github.com/repos/ovenbits/Alexandria/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/ovenbits/Alexandria/pulls/8","id":60695495,"html_url":"https://github.com/ovenbits/Alexandria/pull/8","diff_url":"https://github.com/ovenbits/Alexandria/pull/8.diff","patch_url":"https://github.com/ovenbits/Alexandria/pull/8.patch","issue_url":"https://api.github.com/repos/ovenbits/Alexandria/issues/8","number":8,"state":"open","locked":false,"title":"Allow initializing UIColor with Integers","user":{"login":"apcorc","id":1735515,"avatar_url":"https://avatars.githubusercontent.com/u/1735515?v=3","gravatar_id":"","url":"https://api.github.com/users/apcorc","html_url":"https://github.com/apcorc","followers_url":"https://api.github.com/users/apcorc/followers","following_url":"https://api.github.com/users/apcorc/following{/other_user}","gists_url":"https://api.github.com/users/apcorc/gists{/gist_id}","starred_url":"https://api.github.com/users/apcorc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apcorc/subscriptions","organizations_url":"https://api.github.com/users/apcorc/orgs","repos_url":"https://api.github.com/users/apcorc/repos","events_url":"https://api.github.com/users/apcorc/events{/privacy}","received_events_url":"https://api.github.com/users/apcorc/received_events","type":"User","site_admin":false},"body":"A convenience initializer for UIColor to use Ints such as `225` instead of floats like `225.0/255.0`.","created_at":"2016-02-25T15:26:33Z","updated_at":"2016-02-25T15:29:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7777dd12cfe30cb8cdae105ff5f1003867309991","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ovenbits/Alexandria/pulls/8/commits","review_comments_url":"https://api.github.com/repos/ovenbits/Alexandria/pulls/8/comments","review_comment_url":"https://api.github.com/repos/ovenbits/Alexandria/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ovenbits/Alexandria/issues/8/comments","statuses_url":"https://api.github.com/repos/ovenbits/Alexandria/statuses/3127ee9c1d6dd4ba9e96578be3c07ac51683480f","head":{"label":"ovenbits:uicolor-init-ints","ref":"uicolor-init-ints","sha":"3127ee9c1d6dd4ba9e96578be3c07ac51683480f","user":{"login":"ovenbits","id":145426,"avatar_url":"https://avatars.githubusercontent.com/u/145426?v=3","gravatar_id":"","url":"https://api.github.com/users/ovenbits","html_url":"https://github.com/ovenbits","followers_url":"https://api.github.com/users/ovenbits/followers","following_url":"https://api.github.com/users/ovenbits/following{/other_user}","gists_url":"https://api.github.com/users/ovenbits/gists{/gist_id}","starred_url":"https://api.github.com/users/ovenbits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovenbits/subscriptions","organizations_url":"https://api.github.com/users/ovenbits/orgs","repos_url":"https://api.github.com/users/ovenbits/repos","events_url":"https://api.github.com/users/ovenbits/events{/privacy}","received_events_url":"https://api.github.com/users/ovenbits/received_events","type":"Organization","site_admin":false},"repo":{"id":51524194,"name":"Alexandria","full_name":"ovenbits/Alexandria","owner":{"login":"ovenbits","id":145426,"avatar_url":"https://avatars.githubusercontent.com/u/145426?v=3","gravatar_id":"","url":"https://api.github.com/users/ovenbits","html_url":"https://github.com/ovenbits","followers_url":"https://api.github.com/users/ovenbits/followers","following_url":"https://api.github.com/users/ovenbits/following{/other_user}","gists_url":"https://api.github.com/users/ovenbits/gists{/gist_id}","starred_url":"https://api.github.com/users/ovenbits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovenbits/subscriptions","organizations_url":"https://api.github.com/users/ovenbits/orgs","repos_url":"https://api.github.com/users/ovenbits/repos","events_url":"https://api.github.com/users/ovenbits/events{/privacy}","received_events_url":"https://api.github.com/users/ovenbits/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ovenbits/Alexandria","description":"A library of Swift extensions to turbocharge your iOS development.","fork":false,"url":"https://api.github.com/repos/ovenbits/Alexandria","forks_url":"https://api.github.com/repos/ovenbits/Alexandria/forks","keys_url":"https://api.github.com/repos/ovenbits/Alexandria/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ovenbits/Alexandria/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ovenbits/Alexandria/teams","hooks_url":"https://api.github.com/repos/ovenbits/Alexandria/hooks","issue_events_url":"https://api.github.com/repos/ovenbits/Alexandria/issues/events{/number}","events_url":"https://api.github.com/repos/ovenbits/Alexandria/events","assignees_url":"https://api.github.com/repos/ovenbits/Alexandria/assignees{/user}","branches_url":"https://api.github.com/repos/ovenbits/Alexandria/branches{/branch}","tags_url":"https://api.github.com/repos/ovenbits/Alexandria/tags","blobs_url":"https://api.github.com/repos/ovenbits/Alexandria/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ovenbits/Alexandria/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ovenbits/Alexandria/git/refs{/sha}","trees_url":"https://api.github.com/repos/ovenbits/Alexandria/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ovenbits/Alexandria/statuses/{sha}","languages_url":"https://api.github.com/repos/ovenbits/Alexandria/languages","stargazers_url":"https://api.github.com/repos/ovenbits/Alexandria/stargazers","contributors_url":"https://api.github.com/repos/ovenbits/Alexandria/contributors","subscribers_url":"https://api.github.com/repos/ovenbits/Alexandria/subscribers","subscription_url":"https://api.github.com/repos/ovenbits/Alexandria/subscription","commits_url":"https://api.github.com/repos/ovenbits/Alexandria/commits{/sha}","git_commits_url":"https://api.github.com/repos/ovenbits/Alexandria/git/commits{/sha}","comments_url":"https://api.github.com/repos/ovenbits/Alexandria/comments{/number}","issue_comment_url":"https://api.github.com/repos/ovenbits/Alexandria/issues/comments{/number}","contents_url":"https://api.github.com/repos/ovenbits/Alexandria/contents/{+path}","compare_url":"https://api.github.com/repos/ovenbits/Alexandria/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ovenbits/Alexandria/merges","archive_url":"https://api.github.com/repos/ovenbits/Alexandria/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ovenbits/Alexandria/downloads","issues_url":"https://api.github.com/repos/ovenbits/Alexandria/issues{/number}","pulls_url":"https://api.github.com/repos/ovenbits/Alexandria/pulls{/number}","milestones_url":"https://api.github.com/repos/ovenbits/Alexandria/milestones{/number}","notifications_url":"https://api.github.com/repos/ovenbits/Alexandria/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ovenbits/Alexandria/labels{/name}","releases_url":"https://api.github.com/repos/ovenbits/Alexandria/releases{/id}","deployments_url":"https://api.github.com/repos/ovenbits/Alexandria/deployments","created_at":"2016-02-11T15:31:58Z","updated_at":"2016-02-23T22:15:42Z","pushed_at":"2016-02-25T15:26:33Z","git_url":"git://github.com/ovenbits/Alexandria.git","ssh_url":"git@github.com:ovenbits/Alexandria.git","clone_url":"https://github.com/ovenbits/Alexandria.git","svn_url":"https://github.com/ovenbits/Alexandria","homepage":"https://ovenbits.github.io/Alexandria","size":284,"stargazers_count":5,"watchers_count":5,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":5,"default_branch":"master"}},"base":{"label":"ovenbits:master","ref":"master","sha":"6fb018e9f7945639a0296c252b51b89b3107cc7b","user":{"login":"ovenbits","id":145426,"avatar_url":"https://avatars.githubusercontent.com/u/145426?v=3","gravatar_id":"","url":"https://api.github.com/users/ovenbits","html_url":"https://github.com/ovenbits","followers_url":"https://api.github.com/users/ovenbits/followers","following_url":"https://api.github.com/users/ovenbits/following{/other_user}","gists_url":"https://api.github.com/users/ovenbits/gists{/gist_id}","starred_url":"https://api.github.com/users/ovenbits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovenbits/subscriptions","organizations_url":"https://api.github.com/users/ovenbits/orgs","repos_url":"https://api.github.com/users/ovenbits/repos","events_url":"https://api.github.com/users/ovenbits/events{/privacy}","received_events_url":"https://api.github.com/users/ovenbits/received_events","type":"Organization","site_admin":false},"repo":{"id":51524194,"name":"Alexandria","full_name":"ovenbits/Alexandria","owner":{"login":"ovenbits","id":145426,"avatar_url":"https://avatars.githubusercontent.com/u/145426?v=3","gravatar_id":"","url":"https://api.github.com/users/ovenbits","html_url":"https://github.com/ovenbits","followers_url":"https://api.github.com/users/ovenbits/followers","following_url":"https://api.github.com/users/ovenbits/following{/other_user}","gists_url":"https://api.github.com/users/ovenbits/gists{/gist_id}","starred_url":"https://api.github.com/users/ovenbits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovenbits/subscriptions","organizations_url":"https://api.github.com/users/ovenbits/orgs","repos_url":"https://api.github.com/users/ovenbits/repos","events_url":"https://api.github.com/users/ovenbits/events{/privacy}","received_events_url":"https://api.github.com/users/ovenbits/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ovenbits/Alexandria","description":"A library of Swift extensions to turbocharge your iOS development.","fork":false,"url":"https://api.github.com/repos/ovenbits/Alexandria","forks_url":"https://api.github.com/repos/ovenbits/Alexandria/forks","keys_url":"https://api.github.com/repos/ovenbits/Alexandria/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ovenbits/Alexandria/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ovenbits/Alexandria/teams","hooks_url":"https://api.github.com/repos/ovenbits/Alexandria/hooks","issue_events_url":"https://api.github.com/repos/ovenbits/Alexandria/issues/events{/number}","events_url":"https://api.github.com/repos/ovenbits/Alexandria/events","assignees_url":"https://api.github.com/repos/ovenbits/Alexandria/assignees{/user}","branches_url":"https://api.github.com/repos/ovenbits/Alexandria/branches{/branch}","tags_url":"https://api.github.com/repos/ovenbits/Alexandria/tags","blobs_url":"https://api.github.com/repos/ovenbits/Alexandria/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ovenbits/Alexandria/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ovenbits/Alexandria/git/refs{/sha}","trees_url":"https://api.github.com/repos/ovenbits/Alexandria/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ovenbits/Alexandria/statuses/{sha}","languages_url":"https://api.github.com/repos/ovenbits/Alexandria/languages","stargazers_url":"https://api.github.com/repos/ovenbits/Alexandria/stargazers","contributors_url":"https://api.github.com/repos/ovenbits/Alexandria/contributors","subscribers_url":"https://api.github.com/repos/ovenbits/Alexandria/subscribers","subscription_url":"https://api.github.com/repos/ovenbits/Alexandria/subscription","commits_url":"https://api.github.com/repos/ovenbits/Alexandria/commits{/sha}","git_commits_url":"https://api.github.com/repos/ovenbits/Alexandria/git/commits{/sha}","comments_url":"https://api.github.com/repos/ovenbits/Alexandria/comments{/number}","issue_comment_url":"https://api.github.com/repos/ovenbits/Alexandria/issues/comments{/number}","contents_url":"https://api.github.com/repos/ovenbits/Alexandria/contents/{+path}","compare_url":"https://api.github.com/repos/ovenbits/Alexandria/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ovenbits/Alexandria/merges","archive_url":"https://api.github.com/repos/ovenbits/Alexandria/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ovenbits/Alexandria/downloads","issues_url":"https://api.github.com/repos/ovenbits/Alexandria/issues{/number}","pulls_url":"https://api.github.com/repos/ovenbits/Alexandria/pulls{/number}","milestones_url":"https://api.github.com/repos/ovenbits/Alexandria/milestones{/number}","notifications_url":"https://api.github.com/repos/ovenbits/Alexandria/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ovenbits/Alexandria/labels{/name}","releases_url":"https://api.github.com/repos/ovenbits/Alexandria/releases{/id}","deployments_url":"https://api.github.com/repos/ovenbits/Alexandria/deployments","created_at":"2016-02-11T15:31:58Z","updated_at":"2016-02-23T22:15:42Z","pushed_at":"2016-02-25T15:26:33Z","git_url":"git://github.com/ovenbits/Alexandria.git","ssh_url":"git@github.com:ovenbits/Alexandria.git","clone_url":"https://github.com/ovenbits/Alexandria.git","svn_url":"https://github.com/ovenbits/Alexandria","homepage":"https://ovenbits.github.io/Alexandria","size":284,"stargazers_count":5,"watchers_count":5,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ovenbits/Alexandria/pulls/8"},"html":{"href":"https://github.com/ovenbits/Alexandria/pull/8"},"issue":{"href":"https://api.github.com/repos/ovenbits/Alexandria/issues/8"},"comments":{"href":"https://api.github.com/repos/ovenbits/Alexandria/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/ovenbits/Alexandria/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/ovenbits/Alexandria/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ovenbits/Alexandria/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/ovenbits/Alexandria/statuses/3127ee9c1d6dd4ba9e96578be3c07ac51683480f"}}}}