{"action":"created","comment":{"url":"https://api.github.com/repos/codefirst/FlickSKK/pulls/comments/32358628","id":32358628,"diff_hunk":"@@ -32,11 +35,19 @@ class HeadUpProgressViewController: UIViewController {\n         \n         view.backgroundColor = UIColor(white: 0, alpha: 0.5)\n \n-        let autolayout = view.northLayoutFormat([\"p\":8, \"h\" : 10], [\"progress\": progressView])\n+        label.textColor = UIColor.whiteColor()\n+        label.textAlignment = .Center\n+\n+        let autolayout = view.northLayoutFormat([\"p\":8, \"h\" : 10],\n+            [\"progress\": progressView, \"label\" : label])\n         autolayout(\"H:|-p-[progress]-p-|\")\n+        autolayout(\"H:|-p-[label]-p-|\")\n \n         // 画面中央に表示する\n         self.view.addConstraint(NSLayoutConstraint(item: progressView, attribute: .CenterY, relatedBy: .Equal, toItem: view, attribute: .CenterY, multiplier: 1, constant: 0))\n+\n+        // ラベルをプログレスバーのちょっと下に表示する\n+        self.view.addConstraint(NSLayoutConstraint(item: label, attribute: .Top, relatedBy: .Equal, toItem: progressView, attribute: .Bottom, multiplier: 1, constant: 10))","path":"FlickSKK/HeadUpProgressViewController.swift","position":null,"original_position":35,"commit_id":"56501541a833659f845cc08ce55341a8818376c6","original_commit_id":"1325c171c6ede0e579f0ffa6473eb66e36066c7e","user":{"login":"mzp","id":9650,"avatar_url":"https://avatars.githubusercontent.com/u/9650?v=3","gravatar_id":"","url":"https://api.github.com/users/mzp","html_url":"https://github.com/mzp","followers_url":"https://api.github.com/users/mzp/followers","following_url":"https://api.github.com/users/mzp/following{/other_user}","gists_url":"https://api.github.com/users/mzp/gists{/gist_id}","starred_url":"https://api.github.com/users/mzp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzp/subscriptions","organizations_url":"https://api.github.com/users/mzp/orgs","repos_url":"https://api.github.com/users/mzp/repos","events_url":"https://api.github.com/users/mzp/events{/privacy}","received_events_url":"https://api.github.com/users/mzp/received_events","type":"User","site_admin":false},"body":"はい。。。","created_at":"2015-06-12T21:54:26Z","updated_at":"2015-06-12T21:54:26Z","html_url":"https://github.com/codefirst/FlickSKK/pull/128#discussion_r32358628","pull_request_url":"https://api.github.com/repos/codefirst/FlickSKK/pulls/128","_links":{"self":{"href":"https://api.github.com/repos/codefirst/FlickSKK/pulls/comments/32358628"},"html":{"href":"https://github.com/codefirst/FlickSKK/pull/128#discussion_r32358628"},"pull_request":{"href":"https://api.github.com/repos/codefirst/FlickSKK/pulls/128"}}},"pull_request":{"url":"https://api.github.com/repos/codefirst/FlickSKK/pulls/128","id":37465528,"html_url":"https://github.com/codefirst/FlickSKK/pull/128","diff_url":"https://github.com/codefirst/FlickSKK/pull/128.diff","patch_url":"https://github.com/codefirst/FlickSKK/pull/128.patch","issue_url":"https://api.github.com/repos/codefirst/FlickSKK/issues/128","number":128,"state":"open","locked":false,"title":"辞書の検証中にもプログレスバーを出すようにした","user":{"login":"mzp","id":9650,"avatar_url":"https://avatars.githubusercontent.com/u/9650?v=3","gravatar_id":"","url":"https://api.github.com/users/mzp","html_url":"https://github.com/mzp","followers_url":"https://api.github.com/users/mzp/followers","following_url":"https://api.github.com/users/mzp/following{/other_user}","gists_url":"https://api.github.com/users/mzp/gists{/gist_id}","starred_url":"https://api.github.com/users/mzp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzp/subscriptions","organizations_url":"https://api.github.com/users/mzp/orgs","repos_url":"https://api.github.com/users/mzp/repos","events_url":"https://api.github.com/users/mzp/events{/privacy}","received_events_url":"https://api.github.com/users/mzp/received_events","type":"User","site_admin":false},"body":"![ios simulator screen shot jun 11 2015 10 53 09 pm](https://cloud.githubusercontent.com/assets/9650/8108647/a63acddc-108c-11e5-82e9-7bad254be11e.png)\r\n\r\nこんな感じになります。","created_at":"2015-06-11T13:53:51Z","updated_at":"2015-06-12T21:54:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7d3a313317253b92ed97e7def0c0b8ea1e0abf6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codefirst/FlickSKK/pulls/128/commits","review_comments_url":"https://api.github.com/repos/codefirst/FlickSKK/pulls/128/comments","review_comment_url":"https://api.github.com/repos/codefirst/FlickSKK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codefirst/FlickSKK/issues/128/comments","statuses_url":"https://api.github.com/repos/codefirst/FlickSKK/statuses/56501541a833659f845cc08ce55341a8818376c6","head":{"label":"codefirst:validation_progress","ref":"validation_progress","sha":"56501541a833659f845cc08ce55341a8818376c6","user":{"login":"codefirst","id":627838,"avatar_url":"https://avatars.githubusercontent.com/u/627838?v=3","gravatar_id":"","url":"https://api.github.com/users/codefirst","html_url":"https://github.com/codefirst","followers_url":"https://api.github.com/users/codefirst/followers","following_url":"https://api.github.com/users/codefirst/following{/other_user}","gists_url":"https://api.github.com/users/codefirst/gists{/gist_id}","starred_url":"https://api.github.com/users/codefirst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefirst/subscriptions","organizations_url":"https://api.github.com/users/codefirst/orgs","repos_url":"https://api.github.com/users/codefirst/repos","events_url":"https://api.github.com/users/codefirst/events{/privacy}","received_events_url":"https://api.github.com/users/codefirst/received_events","type":"Organization","site_admin":false},"repo":{"id":24592192,"name":"FlickSKK","full_name":"codefirst/FlickSKK","owner":{"login":"codefirst","id":627838,"avatar_url":"https://avatars.githubusercontent.com/u/627838?v=3","gravatar_id":"","url":"https://api.github.com/users/codefirst","html_url":"https://github.com/codefirst","followers_url":"https://api.github.com/users/codefirst/followers","following_url":"https://api.github.com/users/codefirst/following{/other_user}","gists_url":"https://api.github.com/users/codefirst/gists{/gist_id}","starred_url":"https://api.github.com/users/codefirst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefirst/subscriptions","organizations_url":"https://api.github.com/users/codefirst/orgs","repos_url":"https://api.github.com/users/codefirst/repos","events_url":"https://api.github.com/users/codefirst/events{/privacy}","received_events_url":"https://api.github.com/users/codefirst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codefirst/FlickSKK","description":"SKK(Simple Kana to Kanji conversion program) for iOS with flick keypad","fork":false,"url":"https://api.github.com/repos/codefirst/FlickSKK","forks_url":"https://api.github.com/repos/codefirst/FlickSKK/forks","keys_url":"https://api.github.com/repos/codefirst/FlickSKK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codefirst/FlickSKK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codefirst/FlickSKK/teams","hooks_url":"https://api.github.com/repos/codefirst/FlickSKK/hooks","issue_events_url":"https://api.github.com/repos/codefirst/FlickSKK/issues/events{/number}","events_url":"https://api.github.com/repos/codefirst/FlickSKK/events","assignees_url":"https://api.github.com/repos/codefirst/FlickSKK/assignees{/user}","branches_url":"https://api.github.com/repos/codefirst/FlickSKK/branches{/branch}","tags_url":"https://api.github.com/repos/codefirst/FlickSKK/tags","blobs_url":"https://api.github.com/repos/codefirst/FlickSKK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codefirst/FlickSKK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codefirst/FlickSKK/git/refs{/sha}","trees_url":"https://api.github.com/repos/codefirst/FlickSKK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codefirst/FlickSKK/statuses/{sha}","languages_url":"https://api.github.com/repos/codefirst/FlickSKK/languages","stargazers_url":"https://api.github.com/repos/codefirst/FlickSKK/stargazers","contributors_url":"https://api.github.com/repos/codefirst/FlickSKK/contributors","subscribers_url":"https://api.github.com/repos/codefirst/FlickSKK/subscribers","subscription_url":"https://api.github.com/repos/codefirst/FlickSKK/subscription","commits_url":"https://api.github.com/repos/codefirst/FlickSKK/commits{/sha}","git_commits_url":"https://api.github.com/repos/codefirst/FlickSKK/git/commits{/sha}","comments_url":"https://api.github.com/repos/codefirst/FlickSKK/comments{/number}","issue_comment_url":"https://api.github.com/repos/codefirst/FlickSKK/issues/comments{/number}","contents_url":"https://api.github.com/repos/codefirst/FlickSKK/contents/{+path}","compare_url":"https://api.github.com/repos/codefirst/FlickSKK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codefirst/FlickSKK/merges","archive_url":"https://api.github.com/repos/codefirst/FlickSKK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codefirst/FlickSKK/downloads","issues_url":"https://api.github.com/repos/codefirst/FlickSKK/issues{/number}","pulls_url":"https://api.github.com/repos/codefirst/FlickSKK/pulls{/number}","milestones_url":"https://api.github.com/repos/codefirst/FlickSKK/milestones{/number}","notifications_url":"https://api.github.com/repos/codefirst/FlickSKK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codefirst/FlickSKK/labels{/name}","releases_url":"https://api.github.com/repos/codefirst/FlickSKK/releases{/id}","created_at":"2014-09-29T11:24:38Z","updated_at":"2015-05-05T14:45:12Z","pushed_at":"2015-06-12T21:53:47Z","git_url":"git://github.com/codefirst/FlickSKK.git","ssh_url":"git@github.com:codefirst/FlickSKK.git","clone_url":"https://github.com/codefirst/FlickSKK.git","svn_url":"https://github.com/codefirst/FlickSKK","homepage":"http://www.codefirst.org/FlickSKK/","size":8119,"stargazers_count":18,"watchers_count":18,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":18,"default_branch":"master"}},"base":{"label":"codefirst:master","ref":"master","sha":"586eecb06c317e14b01361b13a6cd0dcdff2c948","user":{"login":"codefirst","id":627838,"avatar_url":"https://avatars.githubusercontent.com/u/627838?v=3","gravatar_id":"","url":"https://api.github.com/users/codefirst","html_url":"https://github.com/codefirst","followers_url":"https://api.github.com/users/codefirst/followers","following_url":"https://api.github.com/users/codefirst/following{/other_user}","gists_url":"https://api.github.com/users/codefirst/gists{/gist_id}","starred_url":"https://api.github.com/users/codefirst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefirst/subscriptions","organizations_url":"https://api.github.com/users/codefirst/orgs","repos_url":"https://api.github.com/users/codefirst/repos","events_url":"https://api.github.com/users/codefirst/events{/privacy}","received_events_url":"https://api.github.com/users/codefirst/received_events","type":"Organization","site_admin":false},"repo":{"id":24592192,"name":"FlickSKK","full_name":"codefirst/FlickSKK","owner":{"login":"codefirst","id":627838,"avatar_url":"https://avatars.githubusercontent.com/u/627838?v=3","gravatar_id":"","url":"https://api.github.com/users/codefirst","html_url":"https://github.com/codefirst","followers_url":"https://api.github.com/users/codefirst/followers","following_url":"https://api.github.com/users/codefirst/following{/other_user}","gists_url":"https://api.github.com/users/codefirst/gists{/gist_id}","starred_url":"https://api.github.com/users/codefirst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codefirst/subscriptions","organizations_url":"https://api.github.com/users/codefirst/orgs","repos_url":"https://api.github.com/users/codefirst/repos","events_url":"https://api.github.com/users/codefirst/events{/privacy}","received_events_url":"https://api.github.com/users/codefirst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codefirst/FlickSKK","description":"SKK(Simple Kana to Kanji conversion program) for iOS with flick keypad","fork":false,"url":"https://api.github.com/repos/codefirst/FlickSKK","forks_url":"https://api.github.com/repos/codefirst/FlickSKK/forks","keys_url":"https://api.github.com/repos/codefirst/FlickSKK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codefirst/FlickSKK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codefirst/FlickSKK/teams","hooks_url":"https://api.github.com/repos/codefirst/FlickSKK/hooks","issue_events_url":"https://api.github.com/repos/codefirst/FlickSKK/issues/events{/number}","events_url":"https://api.github.com/repos/codefirst/FlickSKK/events","assignees_url":"https://api.github.com/repos/codefirst/FlickSKK/assignees{/user}","branches_url":"https://api.github.com/repos/codefirst/FlickSKK/branches{/branch}","tags_url":"https://api.github.com/repos/codefirst/FlickSKK/tags","blobs_url":"https://api.github.com/repos/codefirst/FlickSKK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codefirst/FlickSKK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codefirst/FlickSKK/git/refs{/sha}","trees_url":"https://api.github.com/repos/codefirst/FlickSKK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codefirst/FlickSKK/statuses/{sha}","languages_url":"https://api.github.com/repos/codefirst/FlickSKK/languages","stargazers_url":"https://api.github.com/repos/codefirst/FlickSKK/stargazers","contributors_url":"https://api.github.com/repos/codefirst/FlickSKK/contributors","subscribers_url":"https://api.github.com/repos/codefirst/FlickSKK/subscribers","subscription_url":"https://api.github.com/repos/codefirst/FlickSKK/subscription","commits_url":"https://api.github.com/repos/codefirst/FlickSKK/commits{/sha}","git_commits_url":"https://api.github.com/repos/codefirst/FlickSKK/git/commits{/sha}","comments_url":"https://api.github.com/repos/codefirst/FlickSKK/comments{/number}","issue_comment_url":"https://api.github.com/repos/codefirst/FlickSKK/issues/comments{/number}","contents_url":"https://api.github.com/repos/codefirst/FlickSKK/contents/{+path}","compare_url":"https://api.github.com/repos/codefirst/FlickSKK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codefirst/FlickSKK/merges","archive_url":"https://api.github.com/repos/codefirst/FlickSKK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codefirst/FlickSKK/downloads","issues_url":"https://api.github.com/repos/codefirst/FlickSKK/issues{/number}","pulls_url":"https://api.github.com/repos/codefirst/FlickSKK/pulls{/number}","milestones_url":"https://api.github.com/repos/codefirst/FlickSKK/milestones{/number}","notifications_url":"https://api.github.com/repos/codefirst/FlickSKK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codefirst/FlickSKK/labels{/name}","releases_url":"https://api.github.com/repos/codefirst/FlickSKK/releases{/id}","created_at":"2014-09-29T11:24:38Z","updated_at":"2015-05-05T14:45:12Z","pushed_at":"2015-06-12T21:53:47Z","git_url":"git://github.com/codefirst/FlickSKK.git","ssh_url":"git@github.com:codefirst/FlickSKK.git","clone_url":"https://github.com/codefirst/FlickSKK.git","svn_url":"https://github.com/codefirst/FlickSKK","homepage":"http://www.codefirst.org/FlickSKK/","size":8119,"stargazers_count":18,"watchers_count":18,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":8,"forks":2,"open_issues":8,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codefirst/FlickSKK/pulls/128"},"html":{"href":"https://github.com/codefirst/FlickSKK/pull/128"},"issue":{"href":"https://api.github.com/repos/codefirst/FlickSKK/issues/128"},"comments":{"href":"https://api.github.com/repos/codefirst/FlickSKK/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/codefirst/FlickSKK/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/codefirst/FlickSKK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codefirst/FlickSKK/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/codefirst/FlickSKK/statuses/56501541a833659f845cc08ce55341a8818376c6"}}}}