{"action":"created","comment":{"url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls/comments/66014310","id":66014310,"diff_hunk":"@@ -0,0 +1,59 @@\n+//\n+//  UIColor+Hyphenate.m\n+//  ChatDemo-UI3.0\n+//\n+//  Created by Jerry Wu on 6/3/16.\n+//  Copyright © 2016 Jerry Wu. All rights reserved.\n+//\n+\n+#import \"UIColor+Hyphenate.h\"\n+\n+@implementation UIColor (Hyphenate)\n+\n++ (UIColor *)HIColorGreenMajor\n+{\n+    return [[self class] colorFromHexString:@\"#b2dd4c\"];\n+}\n+\n++ (UIColor *)HIColorGreenDark\n+{\n+    return [[self class] colorFromHexString:@\"#7d9b3c\"];\n+}\n+\n++ (UIColor *)HIColorGreenLight\n+{\n+    return [[self class] colorFromHexString:@\"#9cc13b\"];\n+}\n+\n++ (UIColor *)HIColorRed\n+{\n+    return [[self class] colorFromHexString:@\"#cc0000\"];\n+}\n+\n+\n+\n++ (UIColor *)colorFromHexString:(NSString *)hexString","path":"ChatDemo-UI3.0/ChatDemo-UI3.0/Category/UIColor+Hyphenate.m","position":35,"original_position":35,"commit_id":"4f7c7532be2c5736f4cd54dbb24e359ccab69cb7","original_commit_id":"4f7c7532be2c5736f4cd54dbb24e359ccab69cb7","user":{"login":"Neil-Cao","id":9793953,"avatar_url":"https://avatars.githubusercontent.com/u/9793953?v=3","gravatar_id":"","url":"https://api.github.com/users/Neil-Cao","html_url":"https://github.com/Neil-Cao","followers_url":"https://api.github.com/users/Neil-Cao/followers","following_url":"https://api.github.com/users/Neil-Cao/following{/other_user}","gists_url":"https://api.github.com/users/Neil-Cao/gists{/gist_id}","starred_url":"https://api.github.com/users/Neil-Cao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neil-Cao/subscriptions","organizations_url":"https://api.github.com/users/Neil-Cao/orgs","repos_url":"https://api.github.com/users/Neil-Cao/repos","events_url":"https://api.github.com/users/Neil-Cao/events{/privacy}","received_events_url":"https://api.github.com/users/Neil-Cao/received_events","type":"User","site_admin":false},"body":"是不是再提供一个根据16进制数生成color的方法","created_at":"2016-06-07T06:05:06Z","updated_at":"2016-06-07T06:05:06Z","html_url":"https://github.com/easemob/sdkdemoapp3.0_ios/pull/55#discussion_r66014310","pull_request_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls/comments/66014310"},"html":{"href":"https://github.com/easemob/sdkdemoapp3.0_ios/pull/55#discussion_r66014310"},"pull_request":{"href":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls/55","id":72575470,"html_url":"https://github.com/easemob/sdkdemoapp3.0_ios/pull/55","diff_url":"https://github.com/easemob/sdkdemoapp3.0_ios/pull/55.diff","patch_url":"https://github.com/easemob/sdkdemoapp3.0_ios/pull/55.patch","issue_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/issues/55","number":55,"state":"open","locked":false,"title":"update ui layout and color theme","user":{"login":"jerrywu12","id":494088,"avatar_url":"https://avatars.githubusercontent.com/u/494088?v=3","gravatar_id":"","url":"https://api.github.com/users/jerrywu12","html_url":"https://github.com/jerrywu12","followers_url":"https://api.github.com/users/jerrywu12/followers","following_url":"https://api.github.com/users/jerrywu12/following{/other_user}","gists_url":"https://api.github.com/users/jerrywu12/gists{/gist_id}","starred_url":"https://api.github.com/users/jerrywu12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerrywu12/subscriptions","organizations_url":"https://api.github.com/users/jerrywu12/orgs","repos_url":"https://api.github.com/users/jerrywu12/repos","events_url":"https://api.github.com/users/jerrywu12/events{/privacy}","received_events_url":"https://api.github.com/users/jerrywu12/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-03T21:53:39Z","updated_at":"2016-06-07T06:05:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65277b2c44a2e8c798bf6b2349c47b1748f71410","assignee":{"login":"weapon3042","id":304407,"avatar_url":"https://avatars.githubusercontent.com/u/304407?v=3","gravatar_id":"","url":"https://api.github.com/users/weapon3042","html_url":"https://github.com/weapon3042","followers_url":"https://api.github.com/users/weapon3042/followers","following_url":"https://api.github.com/users/weapon3042/following{/other_user}","gists_url":"https://api.github.com/users/weapon3042/gists{/gist_id}","starred_url":"https://api.github.com/users/weapon3042/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weapon3042/subscriptions","organizations_url":"https://api.github.com/users/weapon3042/orgs","repos_url":"https://api.github.com/users/weapon3042/repos","events_url":"https://api.github.com/users/weapon3042/events{/privacy}","received_events_url":"https://api.github.com/users/weapon3042/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls/55/commits","review_comments_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls/55/comments","review_comment_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/issues/55/comments","statuses_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/statuses/4f7c7532be2c5736f4cd54dbb24e359ccab69cb7","head":{"label":"easemob:jw-updateColorTheme","ref":"jw-updateColorTheme","sha":"4f7c7532be2c5736f4cd54dbb24e359ccab69cb7","user":{"login":"easemob","id":2704962,"avatar_url":"https://avatars.githubusercontent.com/u/2704962?v=3","gravatar_id":"","url":"https://api.github.com/users/easemob","html_url":"https://github.com/easemob","followers_url":"https://api.github.com/users/easemob/followers","following_url":"https://api.github.com/users/easemob/following{/other_user}","gists_url":"https://api.github.com/users/easemob/gists{/gist_id}","starred_url":"https://api.github.com/users/easemob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easemob/subscriptions","organizations_url":"https://api.github.com/users/easemob/orgs","repos_url":"https://api.github.com/users/easemob/repos","events_url":"https://api.github.com/users/easemob/events{/privacy}","received_events_url":"https://api.github.com/users/easemob/received_events","type":"Organization","site_admin":false},"repo":{"id":42239210,"name":"sdkdemoapp3.0_ios","full_name":"easemob/sdkdemoapp3.0_ios","owner":{"login":"easemob","id":2704962,"avatar_url":"https://avatars.githubusercontent.com/u/2704962?v=3","gravatar_id":"","url":"https://api.github.com/users/easemob","html_url":"https://github.com/easemob","followers_url":"https://api.github.com/users/easemob/followers","following_url":"https://api.github.com/users/easemob/following{/other_user}","gists_url":"https://api.github.com/users/easemob/gists{/gist_id}","starred_url":"https://api.github.com/users/easemob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easemob/subscriptions","organizations_url":"https://api.github.com/users/easemob/orgs","repos_url":"https://api.github.com/users/easemob/repos","events_url":"https://api.github.com/users/easemob/events{/privacy}","received_events_url":"https://api.github.com/users/easemob/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/easemob/sdkdemoapp3.0_ios","description":"","fork":false,"url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios","forks_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/forks","keys_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/teams","hooks_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/hooks","issue_events_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/issues/events{/number}","events_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/events","assignees_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/assignees{/user}","branches_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/branches{/branch}","tags_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/tags","blobs_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/statuses/{sha}","languages_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/languages","stargazers_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/stargazers","contributors_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/contributors","subscribers_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/subscribers","subscription_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/subscription","commits_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/contents/{+path}","compare_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/merges","archive_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/downloads","issues_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/issues{/number}","pulls_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls{/number}","milestones_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/milestones{/number}","notifications_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/labels{/name}","releases_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/releases{/id}","deployments_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/deployments","created_at":"2015-09-10T10:57:41Z","updated_at":"2016-06-03T09:54:38Z","pushed_at":"2016-06-06T05:29:12Z","git_url":"git://github.com/easemob/sdkdemoapp3.0_ios.git","ssh_url":"git@github.com:easemob/sdkdemoapp3.0_ios.git","clone_url":"https://github.com/easemob/sdkdemoapp3.0_ios.git","svn_url":"https://github.com/easemob/sdkdemoapp3.0_ios","homepage":null,"size":72848,"stargazers_count":44,"watchers_count":44,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":9,"forks":34,"open_issues":9,"watchers":44,"default_branch":"master"}},"base":{"label":"easemob:USDemo","ref":"USDemo","sha":"09c4ee009879eb32fc7626883e0d718dfa9de991","user":{"login":"easemob","id":2704962,"avatar_url":"https://avatars.githubusercontent.com/u/2704962?v=3","gravatar_id":"","url":"https://api.github.com/users/easemob","html_url":"https://github.com/easemob","followers_url":"https://api.github.com/users/easemob/followers","following_url":"https://api.github.com/users/easemob/following{/other_user}","gists_url":"https://api.github.com/users/easemob/gists{/gist_id}","starred_url":"https://api.github.com/users/easemob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easemob/subscriptions","organizations_url":"https://api.github.com/users/easemob/orgs","repos_url":"https://api.github.com/users/easemob/repos","events_url":"https://api.github.com/users/easemob/events{/privacy}","received_events_url":"https://api.github.com/users/easemob/received_events","type":"Organization","site_admin":false},"repo":{"id":42239210,"name":"sdkdemoapp3.0_ios","full_name":"easemob/sdkdemoapp3.0_ios","owner":{"login":"easemob","id":2704962,"avatar_url":"https://avatars.githubusercontent.com/u/2704962?v=3","gravatar_id":"","url":"https://api.github.com/users/easemob","html_url":"https://github.com/easemob","followers_url":"https://api.github.com/users/easemob/followers","following_url":"https://api.github.com/users/easemob/following{/other_user}","gists_url":"https://api.github.com/users/easemob/gists{/gist_id}","starred_url":"https://api.github.com/users/easemob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easemob/subscriptions","organizations_url":"https://api.github.com/users/easemob/orgs","repos_url":"https://api.github.com/users/easemob/repos","events_url":"https://api.github.com/users/easemob/events{/privacy}","received_events_url":"https://api.github.com/users/easemob/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/easemob/sdkdemoapp3.0_ios","description":"","fork":false,"url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios","forks_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/forks","keys_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/teams","hooks_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/hooks","issue_events_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/issues/events{/number}","events_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/events","assignees_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/assignees{/user}","branches_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/branches{/branch}","tags_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/tags","blobs_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/statuses/{sha}","languages_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/languages","stargazers_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/stargazers","contributors_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/contributors","subscribers_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/subscribers","subscription_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/subscription","commits_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/contents/{+path}","compare_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/merges","archive_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/downloads","issues_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/issues{/number}","pulls_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls{/number}","milestones_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/milestones{/number}","notifications_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/labels{/name}","releases_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/releases{/id}","deployments_url":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/deployments","created_at":"2015-09-10T10:57:41Z","updated_at":"2016-06-03T09:54:38Z","pushed_at":"2016-06-06T05:29:12Z","git_url":"git://github.com/easemob/sdkdemoapp3.0_ios.git","ssh_url":"git@github.com:easemob/sdkdemoapp3.0_ios.git","clone_url":"https://github.com/easemob/sdkdemoapp3.0_ios.git","svn_url":"https://github.com/easemob/sdkdemoapp3.0_ios","homepage":null,"size":72848,"stargazers_count":44,"watchers_count":44,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":9,"forks":34,"open_issues":9,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls/55"},"html":{"href":"https://github.com/easemob/sdkdemoapp3.0_ios/pull/55"},"issue":{"href":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/issues/55"},"comments":{"href":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/easemob/sdkdemoapp3.0_ios/statuses/4f7c7532be2c5736f4cd54dbb24e359ccab69cb7"}}}}
{"actor":{"display_login":"Neil-Cao"}}