{"action":"created","comment":{"url":"https://api.github.com/repos/xitu/gold-miner/pulls/comments/170535122","pull_request_review_id":99220281,"id":170535122,"diff_hunk":"@@ -139,34 +137,33 @@ layer.startPoint = CGPoint(x: 0.2, y: 1)\n layer.endPoint = CGPoint(x: 0.8, y: 0)\n ```\n \n-There’s no magic formula here*—the values need to be adjusted and iterated until the results visually match.\n+这里没有什么魔法公式 —— 这些值需要不断的调整迭代知道两个结果在视觉上匹配。\n \n-*Jirka Třečák posted [an excellent response](https://medium.com/@JiriTrecak/as-for-the-gradients-there-actually-is-a-magic-formula-89055944b52a) with links explaining how the gradient rendering works. Check it out if you want to dive deep into more code!\n+*Jirka Třečák 发布了[一个精彩的回复](https://medium.com/@JiriTrecak/as-for-the-gradients-there-actually-is-a-magic-formula-89055944b52a) ，包含了链接来解释渐变在渲染时是如何工作的。如果你想深入源码了解的话可以去看一下！\n \n-### See For Yourself\n+### 自己亲眼看看\n \n-I built a demo app to easily see these differences on a real device. It includes the examples above, along with source code and original Sketch file so you can tweak the constants to your heart’s content.\n+我创建了一个演示 app 来在真机上简单的看一下这些不同。它包含了上面的这些例子，同时还有源码和原始的 Sketch 文件所以你可以任意的调整这些常量。","path":"TODO/why-your-app-looks-better-in-sketch.md","position":187,"original_position":187,"commit_id":"9b72a90e94758472964f3b5d0417c27ace8eabcc","original_commit_id":"9b72a90e94758472964f3b5d0417c27ace8eabcc","user":{"login":"atuooo","id":12973478,"avatar_url":"https://avatars0.githubusercontent.com/u/12973478?v=4","gravatar_id":"","url":"https://api.github.com/users/atuooo","html_url":"https://github.com/atuooo","followers_url":"https://api.github.com/users/atuooo/followers","following_url":"https://api.github.com/users/atuooo/following{/other_user}","gists_url":"https://api.github.com/users/atuooo/gists{/gist_id}","starred_url":"https://api.github.com/users/atuooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atuooo/subscriptions","organizations_url":"https://api.github.com/users/atuooo/orgs","repos_url":"https://api.github.com/users/atuooo/repos","events_url":"https://api.github.com/users/atuooo/events{/privacy}","received_events_url":"https://api.github.com/users/atuooo/received_events","type":"User","site_admin":false},"body":"注意断句","created_at":"2018-02-26T09:35:18Z","updated_at":"2018-02-26T09:36:54Z","html_url":"https://github.com/xitu/gold-miner/pull/3307#discussion_r170535122","pull_request_url":"https://api.github.com/repos/xitu/gold-miner/pulls/3307","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/comments/170535122"},"html":{"href":"https://github.com/xitu/gold-miner/pull/3307#discussion_r170535122"},"pull_request":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/3307"}}},"pull_request":{"url":"https://api.github.com/repos/xitu/gold-miner/pulls/3307","id":170666338,"html_url":"https://github.com/xitu/gold-miner/pull/3307","diff_url":"https://github.com/xitu/gold-miner/pull/3307.diff","patch_url":"https://github.com/xitu/gold-miner/pull/3307.patch","issue_url":"https://api.github.com/repos/xitu/gold-miner/issues/3307","number":3307,"state":"open","locked":false,"title":"为什么你的 APP 在 Sketch 上看起来更好：探索 Sketch 和 iOS 的渲染差异","user":{"login":"rydensun","id":10702116,"avatar_url":"https://avatars2.githubusercontent.com/u/10702116?v=4","gravatar_id":"","url":"https://api.github.com/users/rydensun","html_url":"https://github.com/rydensun","followers_url":"https://api.github.com/users/rydensun/followers","following_url":"https://api.github.com/users/rydensun/following{/other_user}","gists_url":"https://api.github.com/users/rydensun/gists{/gist_id}","starred_url":"https://api.github.com/users/rydensun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rydensun/subscriptions","organizations_url":"https://api.github.com/users/rydensun/orgs","repos_url":"https://api.github.com/users/rydensun/repos","events_url":"https://api.github.com/users/rydensun/events{/privacy}","received_events_url":"https://api.github.com/users/rydensun/received_events","type":"User","site_admin":false},"body":"译文翻译完成。\r\n\r\nhttps://github.com/xitu/gold-miner/blob/master/TODO/why-your-app-looks-better-in-sketch.md\r\n\r\nresolve #3294\r\n","created_at":"2018-02-22T06:22:39Z","updated_at":"2018-02-26T09:36:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6814e53195131aa899a1d7a629acd1e00b3c135a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":514335487,"url":"https://api.github.com/repos/xitu/gold-miner/labels/iOS","name":"iOS","color":"1d76db","default":false},{"id":322084033,"url":"https://api.github.com/repos/xitu/gold-miner/labels/%E6%AD%A3%E5%9C%A8%E6%A0%A1%E5%AF%B9","name":"正在校对","color":"c2e0c6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/xitu/gold-miner/pulls/3307/commits","review_comments_url":"https://api.github.com/repos/xitu/gold-miner/pulls/3307/comments","review_comment_url":"https://api.github.com/repos/xitu/gold-miner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xitu/gold-miner/issues/3307/comments","statuses_url":"https://api.github.com/repos/xitu/gold-miner/statuses/9b72a90e94758472964f3b5d0417c27ace8eabcc","head":{"label":"rydensun:translate/why-your-app-looks-better-in-sketch.md","ref":"translate/why-your-app-looks-better-in-sketch.md","sha":"9b72a90e94758472964f3b5d0417c27ace8eabcc","user":{"login":"rydensun","id":10702116,"avatar_url":"https://avatars2.githubusercontent.com/u/10702116?v=4","gravatar_id":"","url":"https://api.github.com/users/rydensun","html_url":"https://github.com/rydensun","followers_url":"https://api.github.com/users/rydensun/followers","following_url":"https://api.github.com/users/rydensun/following{/other_user}","gists_url":"https://api.github.com/users/rydensun/gists{/gist_id}","starred_url":"https://api.github.com/users/rydensun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rydensun/subscriptions","organizations_url":"https://api.github.com/users/rydensun/orgs","repos_url":"https://api.github.com/users/rydensun/repos","events_url":"https://api.github.com/users/rydensun/events{/privacy}","received_events_url":"https://api.github.com/users/rydensun/received_events","type":"User","site_admin":false},"repo":{"id":122416676,"name":"gold-miner","full_name":"rydensun/gold-miner","owner":{"login":"rydensun","id":10702116,"avatar_url":"https://avatars2.githubusercontent.com/u/10702116?v=4","gravatar_id":"","url":"https://api.github.com/users/rydensun","html_url":"https://github.com/rydensun","followers_url":"https://api.github.com/users/rydensun/followers","following_url":"https://api.github.com/users/rydensun/following{/other_user}","gists_url":"https://api.github.com/users/rydensun/gists{/gist_id}","starred_url":"https://api.github.com/users/rydensun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rydensun/subscriptions","organizations_url":"https://api.github.com/users/rydensun/orgs","repos_url":"https://api.github.com/users/rydensun/repos","events_url":"https://api.github.com/users/rydensun/events{/privacy}","received_events_url":"https://api.github.com/users/rydensun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rydensun/gold-miner","description":"🥇掘金翻译计划，可能是世界最大最好的英译中技术社区，最懂读者和译者的翻译平台：","fork":true,"url":"https://api.github.com/repos/rydensun/gold-miner","forks_url":"https://api.github.com/repos/rydensun/gold-miner/forks","keys_url":"https://api.github.com/repos/rydensun/gold-miner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rydensun/gold-miner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rydensun/gold-miner/teams","hooks_url":"https://api.github.com/repos/rydensun/gold-miner/hooks","issue_events_url":"https://api.github.com/repos/rydensun/gold-miner/issues/events{/number}","events_url":"https://api.github.com/repos/rydensun/gold-miner/events","assignees_url":"https://api.github.com/repos/rydensun/gold-miner/assignees{/user}","branches_url":"https://api.github.com/repos/rydensun/gold-miner/branches{/branch}","tags_url":"https://api.github.com/repos/rydensun/gold-miner/tags","blobs_url":"https://api.github.com/repos/rydensun/gold-miner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rydensun/gold-miner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rydensun/gold-miner/git/refs{/sha}","trees_url":"https://api.github.com/repos/rydensun/gold-miner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rydensun/gold-miner/statuses/{sha}","languages_url":"https://api.github.com/repos/rydensun/gold-miner/languages","stargazers_url":"https://api.github.com/repos/rydensun/gold-miner/stargazers","contributors_url":"https://api.github.com/repos/rydensun/gold-miner/contributors","subscribers_url":"https://api.github.com/repos/rydensun/gold-miner/subscribers","subscription_url":"https://api.github.com/repos/rydensun/gold-miner/subscription","commits_url":"https://api.github.com/repos/rydensun/gold-miner/commits{/sha}","git_commits_url":"https://api.github.com/repos/rydensun/gold-miner/git/commits{/sha}","comments_url":"https://api.github.com/repos/rydensun/gold-miner/comments{/number}","issue_comment_url":"https://api.github.com/repos/rydensun/gold-miner/issues/comments{/number}","contents_url":"https://api.github.com/repos/rydensun/gold-miner/contents/{+path}","compare_url":"https://api.github.com/repos/rydensun/gold-miner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rydensun/gold-miner/merges","archive_url":"https://api.github.com/repos/rydensun/gold-miner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rydensun/gold-miner/downloads","issues_url":"https://api.github.com/repos/rydensun/gold-miner/issues{/number}","pulls_url":"https://api.github.com/repos/rydensun/gold-miner/pulls{/number}","milestones_url":"https://api.github.com/repos/rydensun/gold-miner/milestones{/number}","notifications_url":"https://api.github.com/repos/rydensun/gold-miner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rydensun/gold-miner/labels{/name}","releases_url":"https://api.github.com/repos/rydensun/gold-miner/releases{/id}","deployments_url":"https://api.github.com/repos/rydensun/gold-miner/deployments","created_at":"2018-02-22T01:37:41Z","updated_at":"2018-02-22T01:34:35Z","pushed_at":"2018-02-26T06:57:23Z","git_url":"git://github.com/rydensun/gold-miner.git","ssh_url":"git@github.com:rydensun/gold-miner.git","clone_url":"https://github.com/rydensun/gold-miner.git","svn_url":"https://github.com/rydensun/gold-miner","homepage":"https://juejin.im/tag/掘金翻译计划","size":29999,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xitu:master","ref":"master","sha":"9816d246f1dc5ed77abc5529cfd40d315bc37f79","user":{"login":"xitu","id":10482599,"avatar_url":"https://avatars2.githubusercontent.com/u/10482599?v=4","gravatar_id":"","url":"https://api.github.com/users/xitu","html_url":"https://github.com/xitu","followers_url":"https://api.github.com/users/xitu/followers","following_url":"https://api.github.com/users/xitu/following{/other_user}","gists_url":"https://api.github.com/users/xitu/gists{/gist_id}","starred_url":"https://api.github.com/users/xitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitu/subscriptions","organizations_url":"https://api.github.com/users/xitu/orgs","repos_url":"https://api.github.com/users/xitu/repos","events_url":"https://api.github.com/users/xitu/events{/privacy}","received_events_url":"https://api.github.com/users/xitu/received_events","type":"Organization","site_admin":false},"repo":{"id":45512989,"name":"gold-miner","full_name":"xitu/gold-miner","owner":{"login":"xitu","id":10482599,"avatar_url":"https://avatars2.githubusercontent.com/u/10482599?v=4","gravatar_id":"","url":"https://api.github.com/users/xitu","html_url":"https://github.com/xitu","followers_url":"https://api.github.com/users/xitu/followers","following_url":"https://api.github.com/users/xitu/following{/other_user}","gists_url":"https://api.github.com/users/xitu/gists{/gist_id}","starred_url":"https://api.github.com/users/xitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitu/subscriptions","organizations_url":"https://api.github.com/users/xitu/orgs","repos_url":"https://api.github.com/users/xitu/repos","events_url":"https://api.github.com/users/xitu/events{/privacy}","received_events_url":"https://api.github.com/users/xitu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xitu/gold-miner","description":"🥇掘金翻译计划，可能是世界最大最好的英译中技术社区，最懂读者和译者的翻译平台：","fork":false,"url":"https://api.github.com/repos/xitu/gold-miner","forks_url":"https://api.github.com/repos/xitu/gold-miner/forks","keys_url":"https://api.github.com/repos/xitu/gold-miner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xitu/gold-miner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xitu/gold-miner/teams","hooks_url":"https://api.github.com/repos/xitu/gold-miner/hooks","issue_events_url":"https://api.github.com/repos/xitu/gold-miner/issues/events{/number}","events_url":"https://api.github.com/repos/xitu/gold-miner/events","assignees_url":"https://api.github.com/repos/xitu/gold-miner/assignees{/user}","branches_url":"https://api.github.com/repos/xitu/gold-miner/branches{/branch}","tags_url":"https://api.github.com/repos/xitu/gold-miner/tags","blobs_url":"https://api.github.com/repos/xitu/gold-miner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xitu/gold-miner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xitu/gold-miner/git/refs{/sha}","trees_url":"https://api.github.com/repos/xitu/gold-miner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xitu/gold-miner/statuses/{sha}","languages_url":"https://api.github.com/repos/xitu/gold-miner/languages","stargazers_url":"https://api.github.com/repos/xitu/gold-miner/stargazers","contributors_url":"https://api.github.com/repos/xitu/gold-miner/contributors","subscribers_url":"https://api.github.com/repos/xitu/gold-miner/subscribers","subscription_url":"https://api.github.com/repos/xitu/gold-miner/subscription","commits_url":"https://api.github.com/repos/xitu/gold-miner/commits{/sha}","git_commits_url":"https://api.github.com/repos/xitu/gold-miner/git/commits{/sha}","comments_url":"https://api.github.com/repos/xitu/gold-miner/comments{/number}","issue_comment_url":"https://api.github.com/repos/xitu/gold-miner/issues/comments{/number}","contents_url":"https://api.github.com/repos/xitu/gold-miner/contents/{+path}","compare_url":"https://api.github.com/repos/xitu/gold-miner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xitu/gold-miner/merges","archive_url":"https://api.github.com/repos/xitu/gold-miner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xitu/gold-miner/downloads","issues_url":"https://api.github.com/repos/xitu/gold-miner/issues{/number}","pulls_url":"https://api.github.com/repos/xitu/gold-miner/pulls{/number}","milestones_url":"https://api.github.com/repos/xitu/gold-miner/milestones{/number}","notifications_url":"https://api.github.com/repos/xitu/gold-miner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xitu/gold-miner/labels{/name}","releases_url":"https://api.github.com/repos/xitu/gold-miner/releases{/id}","deployments_url":"https://api.github.com/repos/xitu/gold-miner/deployments","created_at":"2015-11-04T03:29:13Z","updated_at":"2018-02-26T08:15:51Z","pushed_at":"2018-02-26T08:31:53Z","git_url":"git://github.com/xitu/gold-miner.git","ssh_url":"git@github.com:xitu/gold-miner.git","clone_url":"https://github.com/xitu/gold-miner.git","svn_url":"https://github.com/xitu/gold-miner","homepage":"https://juejin.im/tag/掘金翻译计划","size":30267,"stargazers_count":12061,"watchers_count":12061,"language":null,"has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2173,"mirror_url":null,"archived":false,"open_issues_count":41,"license":null,"forks":2173,"open_issues":41,"watchers":12061,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/3307"},"html":{"href":"https://github.com/xitu/gold-miner/pull/3307"},"issue":{"href":"https://api.github.com/repos/xitu/gold-miner/issues/3307"},"comments":{"href":"https://api.github.com/repos/xitu/gold-miner/issues/3307/comments"},"review_comments":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/3307/comments"},"review_comment":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/3307/commits"},"statuses":{"href":"https://api.github.com/repos/xitu/gold-miner/statuses/9b72a90e94758472964f3b5d0417c27ace8eabcc"}},"author_association":"NONE"}}
{"actor":{"display_login":"atuooo"}}