{"action":"created","comment":{"url":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls/comments/94048169","pull_request_review_id":14578573,"id":94048169,"diff_hunk":"@@ -109,33 +133,58 @@ public class ScrubBar: UIControl {\n \n     private var selectionViewWidthConstraint: NSLayoutConstraint?\n \n+    // MARK: Selection background color\n+\n+    public var selectionBackgroundColor = UIColor.white {\n+        didSet {\n+            selectionView.backgroundColor = selectionBackgroundColor\n+        }\n+    }\n+\n+    // MARK: Item tint color\n+\n+    public var itemTintColor: UIColor = .gray {\n+        didSet {\n+            imageViews.forEach { $0.tintColor = itemTintColor }\n+            selectedImageView.tintColor = selectedItemTintColor\n+        }\n+    }\n+\n+    // MARK: Selected item tint color\n+\n+    public var selectedItemTintColor = UIColor.darkGray {","path":"ScrubBar/ScrubBar.swift","position":111,"original_position":111,"commit_id":"d0a69e7917a50b1aa0a854205c6f16eeb22efb5e","original_commit_id":"d0a69e7917a50b1aa0a854205c6f16eeb22efb5e","user":{"login":"salutis","id":1158274,"avatar_url":"https://avatars.githubusercontent.com/u/1158274?v=3","gravatar_id":"","url":"https://api.github.com/users/salutis","html_url":"https://github.com/salutis","followers_url":"https://api.github.com/users/salutis/followers","following_url":"https://api.github.com/users/salutis/following{/other_user}","gists_url":"https://api.github.com/users/salutis/gists{/gist_id}","starred_url":"https://api.github.com/users/salutis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salutis/subscriptions","organizations_url":"https://api.github.com/users/salutis/orgs","repos_url":"https://api.github.com/users/salutis/repos","events_url":"https://api.github.com/users/salutis/events{/privacy}","received_events_url":"https://api.github.com/users/salutis/received_events","type":"User","site_admin":false},"body":"Consider using a single style.\r\n\r\n```swift\r\npublic var selectedItemTintColor = UIColor.darkGray { ...\r\n```\r\n\r\nvs\r\n\r\n```swift\r\npublic var itemTintColor: UIColor = .gray { ...\r\n```","created_at":"2016-12-28T16:03:06Z","updated_at":"2016-12-28T16:47:10Z","html_url":"https://github.com/enfluid/apple-scrub-bar/pull/21#discussion_r94048169","pull_request_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls/comments/94048169"},"html":{"href":"https://github.com/enfluid/apple-scrub-bar/pull/21#discussion_r94048169"},"pull_request":{"href":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls/21","id":99266270,"html_url":"https://github.com/enfluid/apple-scrub-bar/pull/21","diff_url":"https://github.com/enfluid/apple-scrub-bar/pull/21.diff","patch_url":"https://github.com/enfluid/apple-scrub-bar/pull/21.patch","issue_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/issues/21","number":21,"state":"open","locked":false,"title":"Update API","user":{"login":"andris-zalitis","id":1741865,"avatar_url":"https://avatars.githubusercontent.com/u/1741865?v=3","gravatar_id":"","url":"https://api.github.com/users/andris-zalitis","html_url":"https://github.com/andris-zalitis","followers_url":"https://api.github.com/users/andris-zalitis/followers","following_url":"https://api.github.com/users/andris-zalitis/following{/other_user}","gists_url":"https://api.github.com/users/andris-zalitis/gists{/gist_id}","starred_url":"https://api.github.com/users/andris-zalitis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andris-zalitis/subscriptions","organizations_url":"https://api.github.com/users/andris-zalitis/orgs","repos_url":"https://api.github.com/users/andris-zalitis/repos","events_url":"https://api.github.com/users/andris-zalitis/events{/privacy}","received_events_url":"https://api.github.com/users/andris-zalitis/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-23T17:33:06Z","updated_at":"2016-12-28T16:47:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51abeb2b5d4e33d09b9084dc0ee0446a29b6a144","assignee":{"login":"andris-zalitis","id":1741865,"avatar_url":"https://avatars.githubusercontent.com/u/1741865?v=3","gravatar_id":"","url":"https://api.github.com/users/andris-zalitis","html_url":"https://github.com/andris-zalitis","followers_url":"https://api.github.com/users/andris-zalitis/followers","following_url":"https://api.github.com/users/andris-zalitis/following{/other_user}","gists_url":"https://api.github.com/users/andris-zalitis/gists{/gist_id}","starred_url":"https://api.github.com/users/andris-zalitis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andris-zalitis/subscriptions","organizations_url":"https://api.github.com/users/andris-zalitis/orgs","repos_url":"https://api.github.com/users/andris-zalitis/repos","events_url":"https://api.github.com/users/andris-zalitis/events{/privacy}","received_events_url":"https://api.github.com/users/andris-zalitis/received_events","type":"User","site_admin":false},"assignees":[{"login":"andris-zalitis","id":1741865,"avatar_url":"https://avatars.githubusercontent.com/u/1741865?v=3","gravatar_id":"","url":"https://api.github.com/users/andris-zalitis","html_url":"https://github.com/andris-zalitis","followers_url":"https://api.github.com/users/andris-zalitis/followers","following_url":"https://api.github.com/users/andris-zalitis/following{/other_user}","gists_url":"https://api.github.com/users/andris-zalitis/gists{/gist_id}","starred_url":"https://api.github.com/users/andris-zalitis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andris-zalitis/subscriptions","organizations_url":"https://api.github.com/users/andris-zalitis/orgs","repos_url":"https://api.github.com/users/andris-zalitis/repos","events_url":"https://api.github.com/users/andris-zalitis/events{/privacy}","received_events_url":"https://api.github.com/users/andris-zalitis/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls/21/commits","review_comments_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls/21/comments","review_comment_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/issues/21/comments","statuses_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/statuses/d0a69e7917a50b1aa0a854205c6f16eeb22efb5e","head":{"label":"enfluid:feature/update-api","ref":"feature/update-api","sha":"d0a69e7917a50b1aa0a854205c6f16eeb22efb5e","user":{"login":"enfluid","id":3988018,"avatar_url":"https://avatars.githubusercontent.com/u/3988018?v=3","gravatar_id":"","url":"https://api.github.com/users/enfluid","html_url":"https://github.com/enfluid","followers_url":"https://api.github.com/users/enfluid/followers","following_url":"https://api.github.com/users/enfluid/following{/other_user}","gists_url":"https://api.github.com/users/enfluid/gists{/gist_id}","starred_url":"https://api.github.com/users/enfluid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enfluid/subscriptions","organizations_url":"https://api.github.com/users/enfluid/orgs","repos_url":"https://api.github.com/users/enfluid/repos","events_url":"https://api.github.com/users/enfluid/events{/privacy}","received_events_url":"https://api.github.com/users/enfluid/received_events","type":"User","site_admin":false},"repo":{"id":71373666,"name":"apple-scrub-bar","full_name":"enfluid/apple-scrub-bar","owner":{"login":"enfluid","id":3988018,"avatar_url":"https://avatars.githubusercontent.com/u/3988018?v=3","gravatar_id":"","url":"https://api.github.com/users/enfluid","html_url":"https://github.com/enfluid","followers_url":"https://api.github.com/users/enfluid/followers","following_url":"https://api.github.com/users/enfluid/following{/other_user}","gists_url":"https://api.github.com/users/enfluid/gists{/gist_id}","starred_url":"https://api.github.com/users/enfluid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enfluid/subscriptions","organizations_url":"https://api.github.com/users/enfluid/orgs","repos_url":"https://api.github.com/users/enfluid/repos","events_url":"https://api.github.com/users/enfluid/events{/privacy}","received_events_url":"https://api.github.com/users/enfluid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/enfluid/apple-scrub-bar","description":null,"fork":false,"url":"https://api.github.com/repos/enfluid/apple-scrub-bar","forks_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/forks","keys_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/teams","hooks_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/hooks","issue_events_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/issues/events{/number}","events_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/events","assignees_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/assignees{/user}","branches_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/branches{/branch}","tags_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/tags","blobs_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/git/refs{/sha}","trees_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/statuses/{sha}","languages_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/languages","stargazers_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/stargazers","contributors_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/contributors","subscribers_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/subscribers","subscription_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/subscription","commits_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/commits{/sha}","git_commits_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/git/commits{/sha}","comments_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/comments{/number}","issue_comment_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/issues/comments{/number}","contents_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/contents/{+path}","compare_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/merges","archive_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/downloads","issues_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/issues{/number}","pulls_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls{/number}","milestones_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/milestones{/number}","notifications_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/labels{/name}","releases_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/releases{/id}","deployments_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/deployments","created_at":"2016-10-19T15:50:04Z","updated_at":"2016-11-24T14:57:31Z","pushed_at":"2016-12-28T13:46:32Z","git_url":"git://github.com/enfluid/apple-scrub-bar.git","ssh_url":"git@github.com:enfluid/apple-scrub-bar.git","clone_url":"https://github.com/enfluid/apple-scrub-bar.git","svn_url":"https://github.com/enfluid/apple-scrub-bar","homepage":null,"size":134,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"develop"}},"base":{"label":"enfluid:develop","ref":"develop","sha":"50ec2a68b1acb25044d8c41b02532603cc56774a","user":{"login":"enfluid","id":3988018,"avatar_url":"https://avatars.githubusercontent.com/u/3988018?v=3","gravatar_id":"","url":"https://api.github.com/users/enfluid","html_url":"https://github.com/enfluid","followers_url":"https://api.github.com/users/enfluid/followers","following_url":"https://api.github.com/users/enfluid/following{/other_user}","gists_url":"https://api.github.com/users/enfluid/gists{/gist_id}","starred_url":"https://api.github.com/users/enfluid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enfluid/subscriptions","organizations_url":"https://api.github.com/users/enfluid/orgs","repos_url":"https://api.github.com/users/enfluid/repos","events_url":"https://api.github.com/users/enfluid/events{/privacy}","received_events_url":"https://api.github.com/users/enfluid/received_events","type":"User","site_admin":false},"repo":{"id":71373666,"name":"apple-scrub-bar","full_name":"enfluid/apple-scrub-bar","owner":{"login":"enfluid","id":3988018,"avatar_url":"https://avatars.githubusercontent.com/u/3988018?v=3","gravatar_id":"","url":"https://api.github.com/users/enfluid","html_url":"https://github.com/enfluid","followers_url":"https://api.github.com/users/enfluid/followers","following_url":"https://api.github.com/users/enfluid/following{/other_user}","gists_url":"https://api.github.com/users/enfluid/gists{/gist_id}","starred_url":"https://api.github.com/users/enfluid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enfluid/subscriptions","organizations_url":"https://api.github.com/users/enfluid/orgs","repos_url":"https://api.github.com/users/enfluid/repos","events_url":"https://api.github.com/users/enfluid/events{/privacy}","received_events_url":"https://api.github.com/users/enfluid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/enfluid/apple-scrub-bar","description":null,"fork":false,"url":"https://api.github.com/repos/enfluid/apple-scrub-bar","forks_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/forks","keys_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/teams","hooks_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/hooks","issue_events_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/issues/events{/number}","events_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/events","assignees_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/assignees{/user}","branches_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/branches{/branch}","tags_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/tags","blobs_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/git/refs{/sha}","trees_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/statuses/{sha}","languages_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/languages","stargazers_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/stargazers","contributors_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/contributors","subscribers_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/subscribers","subscription_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/subscription","commits_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/commits{/sha}","git_commits_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/git/commits{/sha}","comments_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/comments{/number}","issue_comment_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/issues/comments{/number}","contents_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/contents/{+path}","compare_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/merges","archive_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/downloads","issues_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/issues{/number}","pulls_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls{/number}","milestones_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/milestones{/number}","notifications_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/labels{/name}","releases_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/releases{/id}","deployments_url":"https://api.github.com/repos/enfluid/apple-scrub-bar/deployments","created_at":"2016-10-19T15:50:04Z","updated_at":"2016-11-24T14:57:31Z","pushed_at":"2016-12-28T13:46:32Z","git_url":"git://github.com/enfluid/apple-scrub-bar.git","ssh_url":"git@github.com:enfluid/apple-scrub-bar.git","clone_url":"https://github.com/enfluid/apple-scrub-bar.git","svn_url":"https://github.com/enfluid/apple-scrub-bar","homepage":null,"size":134,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls/21"},"html":{"href":"https://github.com/enfluid/apple-scrub-bar/pull/21"},"issue":{"href":"https://api.github.com/repos/enfluid/apple-scrub-bar/issues/21"},"comments":{"href":"https://api.github.com/repos/enfluid/apple-scrub-bar/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enfluid/apple-scrub-bar/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/enfluid/apple-scrub-bar/statuses/d0a69e7917a50b1aa0a854205c6f16eeb22efb5e"}}}}
{"actor":{"display_login":"salutis"}}