{"action":"created","comment":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments/41304038","id":41304038,"diff_hunk":"@@ -0,0 +1,127 @@\n+/*\n+ Copyright (c) 2015, Alejandro Martinez, Quintiles Inc.\n+ Copyright (c) 2015, Brian Kelly, Quintiles Inc.\n+ Copyright (c) 2015, Bryan Strothmann, Quintiles Inc.\n+ Copyright (c) 2015, Greg Yip, Quintiles Inc.\n+ Copyright (c) 2015, John Reites, Quintiles Inc.\n+ Copyright (c) 2015, Pavel Kanzelsberger, Quintiles Inc.\n+ Copyright (c) 2015, Richard Thomas, Quintiles Inc.\n+ Copyright (c) 2015, Shelby Brooks, Quintiles Inc.\n+ Copyright (c) 2015, Steve Cadwallader, Quintiles Inc.\n+ \n+ Redistribution and use in source and binary forms, with or without modification,\n+ are permitted provided that the following conditions are met:\n+ \n+ 1.  Redistributions of source code must retain the above copyright notice, this\n+ list of conditions and the following disclaimer.\n+ \n+ 2.  Redistributions in binary form must reproduce the above copyright notice,\n+ this list of conditions and the following disclaimer in the documentation and/or\n+ other materials provided with the distribution.\n+ \n+ 3.  Neither the name of the copyright holder(s) nor the names of any contributors\n+ may be used to endorse or promote products derived from this software without\n+ specific prior written permission. No license is granted to the trademarks of\n+ the copyright holders even if such marks are included in this software.\n+ \n+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\n+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ */\n+\n+\n+#import \"ORKWaitStepViewController.h\"\n+#import \"ORKWaitStep.h\"\n+#import \"ORKCustomStepView_Internal.h\"\n+#import \"ORKActiveStepViewController_internal.h\"\n+#import \"ORKVerticalContainerView.h\"\n+#import \"ORKStepViewController_Internal.h\"\n+#import \"ORKResult.h\"\n+#import \"ORKLabel.h\"","path":"ResearchKit/Common/ORKWaitStepViewController.m","position":47,"original_position":47,"commit_id":"3fdbad88b235d0d8011f7c7fe543c9f6c5de2514","original_commit_id":"3fdbad88b235d0d8011f7c7fe543c9f6c5de2514","user":{"login":"YuanZhu-apple","id":11466704,"avatar_url":"https://avatars.githubusercontent.com/u/11466704?v=3","gravatar_id":"","url":"https://api.github.com/users/YuanZhu-apple","html_url":"https://github.com/YuanZhu-apple","followers_url":"https://api.github.com/users/YuanZhu-apple/followers","following_url":"https://api.github.com/users/YuanZhu-apple/following{/other_user}","gists_url":"https://api.github.com/users/YuanZhu-apple/gists{/gist_id}","starred_url":"https://api.github.com/users/YuanZhu-apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuanZhu-apple/subscriptions","organizations_url":"https://api.github.com/users/YuanZhu-apple/orgs","repos_url":"https://api.github.com/users/YuanZhu-apple/repos","events_url":"https://api.github.com/users/YuanZhu-apple/events{/privacy}","received_events_url":"https://api.github.com/users/YuanZhu-apple/received_events","type":"User","site_admin":false},"body":"It would be cleaner to just include `#import <ResearchKit/ResearchKit_Private.h>`","created_at":"2015-10-06T18:37:10Z","updated_at":"2015-10-06T18:37:10Z","html_url":"https://github.com/ResearchKit/ResearchKit/pull/477#discussion_r41304038","pull_request_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/477","_links":{"self":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments/41304038"},"html":{"href":"https://github.com/ResearchKit/ResearchKit/pull/477#discussion_r41304038"},"pull_request":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/477"}}},"pull_request":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/477","id":45915647,"html_url":"https://github.com/ResearchKit/ResearchKit/pull/477","diff_url":"https://github.com/ResearchKit/ResearchKit/pull/477.diff","patch_url":"https://github.com/ResearchKit/ResearchKit/pull/477.patch","issue_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/477","number":477,"state":"open","locked":false,"title":"Wait Task","user":{"login":"QuintilesRK","id":14351575,"avatar_url":"https://avatars.githubusercontent.com/u/14351575?v=3","gravatar_id":"","url":"https://api.github.com/users/QuintilesRK","html_url":"https://github.com/QuintilesRK","followers_url":"https://api.github.com/users/QuintilesRK/followers","following_url":"https://api.github.com/users/QuintilesRK/following{/other_user}","gists_url":"https://api.github.com/users/QuintilesRK/gists{/gist_id}","starred_url":"https://api.github.com/users/QuintilesRK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuintilesRK/subscriptions","organizations_url":"https://api.github.com/users/QuintilesRK/orgs","repos_url":"https://api.github.com/users/QuintilesRK/repos","events_url":"https://api.github.com/users/QuintilesRK/events{/privacy}","received_events_url":"https://api.github.com/users/QuintilesRK/received_events","type":"User","site_admin":false},"body":"This pull request adds support for a generic wait task that can be used a task or in-between steps allowing you to process or update additional data. It supports both indeterminate and determinate progress views that tint accordingly and a place for status updates.","created_at":"2015-09-24T16:00:12Z","updated_at":"2015-10-06T18:37:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"908cd8b925a839dc53f2160e668bcfadfcf45d33","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/477/commits","review_comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/477/comments","review_comment_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/477/comments","statuses_url":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/3fdbad88b235d0d8011f7c7fe543c9f6c5de2514","head":{"label":"QuintilesRK:WaitTask","ref":"WaitTask","sha":"3fdbad88b235d0d8011f7c7fe543c9f6c5de2514","user":{"login":"QuintilesRK","id":14351575,"avatar_url":"https://avatars.githubusercontent.com/u/14351575?v=3","gravatar_id":"","url":"https://api.github.com/users/QuintilesRK","html_url":"https://github.com/QuintilesRK","followers_url":"https://api.github.com/users/QuintilesRK/followers","following_url":"https://api.github.com/users/QuintilesRK/following{/other_user}","gists_url":"https://api.github.com/users/QuintilesRK/gists{/gist_id}","starred_url":"https://api.github.com/users/QuintilesRK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuintilesRK/subscriptions","organizations_url":"https://api.github.com/users/QuintilesRK/orgs","repos_url":"https://api.github.com/users/QuintilesRK/repos","events_url":"https://api.github.com/users/QuintilesRK/events{/privacy}","received_events_url":"https://api.github.com/users/QuintilesRK/received_events","type":"User","site_admin":false},"repo":{"id":43075990,"name":"ResearchKit","full_name":"QuintilesRK/ResearchKit","owner":{"login":"QuintilesRK","id":14351575,"avatar_url":"https://avatars.githubusercontent.com/u/14351575?v=3","gravatar_id":"","url":"https://api.github.com/users/QuintilesRK","html_url":"https://github.com/QuintilesRK","followers_url":"https://api.github.com/users/QuintilesRK/followers","following_url":"https://api.github.com/users/QuintilesRK/following{/other_user}","gists_url":"https://api.github.com/users/QuintilesRK/gists{/gist_id}","starred_url":"https://api.github.com/users/QuintilesRK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuintilesRK/subscriptions","organizations_url":"https://api.github.com/users/QuintilesRK/orgs","repos_url":"https://api.github.com/users/QuintilesRK/repos","events_url":"https://api.github.com/users/QuintilesRK/events{/privacy}","received_events_url":"https://api.github.com/users/QuintilesRK/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/QuintilesRK/ResearchKit","description":"ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects.","fork":true,"url":"https://api.github.com/repos/QuintilesRK/ResearchKit","forks_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/forks","keys_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/teams","hooks_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/hooks","issue_events_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/issues/events{/number}","events_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/events","assignees_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/assignees{/user}","branches_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/branches{/branch}","tags_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/tags","blobs_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/statuses/{sha}","languages_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/languages","stargazers_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/stargazers","contributors_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/contributors","subscribers_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/subscribers","subscription_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/subscription","commits_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/contents/{+path}","compare_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/merges","archive_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/downloads","issues_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/issues{/number}","pulls_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/pulls{/number}","milestones_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/milestones{/number}","notifications_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/labels{/name}","releases_url":"https://api.github.com/repos/QuintilesRK/ResearchKit/releases{/id}","created_at":"2015-09-24T15:36:38Z","updated_at":"2015-10-02T19:37:15Z","pushed_at":"2015-10-06T18:24:25Z","git_url":"git://github.com/QuintilesRK/ResearchKit.git","ssh_url":"git@github.com:QuintilesRK/ResearchKit.git","clone_url":"https://github.com/QuintilesRK/ResearchKit.git","svn_url":"https://github.com/QuintilesRK/ResearchKit","homepage":"","size":18629,"stargazers_count":1,"watchers_count":1,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"ResearchKit:master","ref":"master","sha":"d313ab3a455a8cf5d68333a95f81e79ba5e103cd","user":{"login":"ResearchKit","id":11183179,"avatar_url":"https://avatars.githubusercontent.com/u/11183179?v=3","gravatar_id":"","url":"https://api.github.com/users/ResearchKit","html_url":"https://github.com/ResearchKit","followers_url":"https://api.github.com/users/ResearchKit/followers","following_url":"https://api.github.com/users/ResearchKit/following{/other_user}","gists_url":"https://api.github.com/users/ResearchKit/gists{/gist_id}","starred_url":"https://api.github.com/users/ResearchKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ResearchKit/subscriptions","organizations_url":"https://api.github.com/users/ResearchKit/orgs","repos_url":"https://api.github.com/users/ResearchKit/repos","events_url":"https://api.github.com/users/ResearchKit/events{/privacy}","received_events_url":"https://api.github.com/users/ResearchKit/received_events","type":"Organization","site_admin":false},"repo":{"id":31979038,"name":"ResearchKit","full_name":"ResearchKit/ResearchKit","owner":{"login":"ResearchKit","id":11183179,"avatar_url":"https://avatars.githubusercontent.com/u/11183179?v=3","gravatar_id":"","url":"https://api.github.com/users/ResearchKit","html_url":"https://github.com/ResearchKit","followers_url":"https://api.github.com/users/ResearchKit/followers","following_url":"https://api.github.com/users/ResearchKit/following{/other_user}","gists_url":"https://api.github.com/users/ResearchKit/gists{/gist_id}","starred_url":"https://api.github.com/users/ResearchKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ResearchKit/subscriptions","organizations_url":"https://api.github.com/users/ResearchKit/orgs","repos_url":"https://api.github.com/users/ResearchKit/repos","events_url":"https://api.github.com/users/ResearchKit/events{/privacy}","received_events_url":"https://api.github.com/users/ResearchKit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ResearchKit/ResearchKit","description":"ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects.","fork":false,"url":"https://api.github.com/repos/ResearchKit/ResearchKit","forks_url":"https://api.github.com/repos/ResearchKit/ResearchKit/forks","keys_url":"https://api.github.com/repos/ResearchKit/ResearchKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ResearchKit/ResearchKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ResearchKit/ResearchKit/teams","hooks_url":"https://api.github.com/repos/ResearchKit/ResearchKit/hooks","issue_events_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/events{/number}","events_url":"https://api.github.com/repos/ResearchKit/ResearchKit/events","assignees_url":"https://api.github.com/repos/ResearchKit/ResearchKit/assignees{/user}","branches_url":"https://api.github.com/repos/ResearchKit/ResearchKit/branches{/branch}","tags_url":"https://api.github.com/repos/ResearchKit/ResearchKit/tags","blobs_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/{sha}","languages_url":"https://api.github.com/repos/ResearchKit/ResearchKit/languages","stargazers_url":"https://api.github.com/repos/ResearchKit/ResearchKit/stargazers","contributors_url":"https://api.github.com/repos/ResearchKit/ResearchKit/contributors","subscribers_url":"https://api.github.com/repos/ResearchKit/ResearchKit/subscribers","subscription_url":"https://api.github.com/repos/ResearchKit/ResearchKit/subscription","commits_url":"https://api.github.com/repos/ResearchKit/ResearchKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/ResearchKit/ResearchKit/contents/{+path}","compare_url":"https://api.github.com/repos/ResearchKit/ResearchKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ResearchKit/ResearchKit/merges","archive_url":"https://api.github.com/repos/ResearchKit/ResearchKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ResearchKit/ResearchKit/downloads","issues_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues{/number}","pulls_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls{/number}","milestones_url":"https://api.github.com/repos/ResearchKit/ResearchKit/milestones{/number}","notifications_url":"https://api.github.com/repos/ResearchKit/ResearchKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ResearchKit/ResearchKit/labels{/name}","releases_url":"https://api.github.com/repos/ResearchKit/ResearchKit/releases{/id}","created_at":"2015-03-10T20:05:32Z","updated_at":"2015-10-06T06:46:43Z","pushed_at":"2015-10-06T18:24:25Z","git_url":"git://github.com/ResearchKit/ResearchKit.git","ssh_url":"git@github.com:ResearchKit/ResearchKit.git","clone_url":"https://github.com/ResearchKit/ResearchKit.git","svn_url":"https://github.com/ResearchKit/ResearchKit","homepage":"","size":27774,"stargazers_count":4003,"watchers_count":4003,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":562,"mirror_url":null,"open_issues_count":68,"forks":562,"open_issues":68,"watchers":4003,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/477"},"html":{"href":"https://github.com/ResearchKit/ResearchKit/pull/477"},"issue":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/477"},"comments":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/477/comments"},"review_comments":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/477/comments"},"review_comment":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/477/commits"},"statuses":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/3fdbad88b235d0d8011f7c7fe543c9f6c5de2514"}}}}