{"action":"created","comment":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments/32687391","id":32687391,"diff_hunk":"@@ -0,0 +1,83 @@\n+/*\n+ Copyright (c) 2015, Apple Inc. All rights reserved.\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 \"ORKCircleView.h\"\n+\n+\n+@implementation ORKCircleView\n+\n+#pragma mark - Init","path":"ResearchKit/Common/ORKCircleView.m","position":37,"original_position":37,"commit_id":"36a4d7e2002926cd3ee3c9a0931329986c09e6d2","original_commit_id":"36a4d7e2002926cd3ee3c9a0931329986c09e6d2","user":{"login":"rsanchezsaez","id":444313,"avatar_url":"https://avatars.githubusercontent.com/u/444313?v=3","gravatar_id":"","url":"https://api.github.com/users/rsanchezsaez","html_url":"https://github.com/rsanchezsaez","followers_url":"https://api.github.com/users/rsanchezsaez/followers","following_url":"https://api.github.com/users/rsanchezsaez/following{/other_user}","gists_url":"https://api.github.com/users/rsanchezsaez/gists{/gist_id}","starred_url":"https://api.github.com/users/rsanchezsaez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsanchezsaez/subscriptions","organizations_url":"https://api.github.com/users/rsanchezsaez/orgs","repos_url":"https://api.github.com/users/rsanchezsaez/repos","events_url":"https://api.github.com/users/rsanchezsaez/events{/privacy}","received_events_url":"https://api.github.com/users/rsanchezsaez/received_events","type":"User","site_admin":false},"body":"I guess we don't need `#pragma marks` for such a small class.","created_at":"2015-06-17T23:39:59Z","updated_at":"2015-06-17T23:39:59Z","html_url":"https://github.com/ResearchKit/ResearchKit/pull/178#discussion_r32687391","pull_request_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/178","_links":{"self":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments/32687391"},"html":{"href":"https://github.com/ResearchKit/ResearchKit/pull/178#discussion_r32687391"},"pull_request":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/178"}}},"pull_request":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/178","id":35204523,"html_url":"https://github.com/ResearchKit/ResearchKit/pull/178","diff_url":"https://github.com/ResearchKit/ResearchKit/pull/178.diff","patch_url":"https://github.com/ResearchKit/ResearchKit/pull/178.patch","issue_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/178","number":178,"state":"open","locked":false,"title":"Charts for ResearchKit (Issue #92)","user":{"login":"coxy1989","id":5890600,"avatar_url":"https://avatars.githubusercontent.com/u/5890600?v=3","gravatar_id":"","url":"https://api.github.com/users/coxy1989","html_url":"https://github.com/coxy1989","followers_url":"https://api.github.com/users/coxy1989/followers","following_url":"https://api.github.com/users/coxy1989/following{/other_user}","gists_url":"https://api.github.com/users/coxy1989/gists{/gist_id}","starred_url":"https://api.github.com/users/coxy1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coxy1989/subscriptions","organizations_url":"https://api.github.com/users/coxy1989/orgs","repos_url":"https://api.github.com/users/coxy1989/repos","events_url":"https://api.github.com/users/coxy1989/events{/privacy}","received_events_url":"https://api.github.com/users/coxy1989/received_events","type":"User","site_admin":false},"body":"API for Line, Discrete and Pie charts for RK.\r\n\r\nDo you feel the circular progress view for the day's tasks that appears is the AppCore apps' dashboards qualifies as a chart that should be included too, seems broadly useful to most/all RK apps. Badges is another which could also be included.\r\n\r\nI think including those charts in RK and the catalog may encourage developers to contribute their own charts to the proj which can't be a bad thing\r\n\r\nOne of the big challenges of RK apps face will be to retain participants for as long as possible, a broader range of great looking/ interesting dashboard charts is one way to do that. \r\n\r\n#92\r\n","created_at":"2015-05-12T08:45:19Z","updated_at":"2015-06-17T23:39:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b619c58e454d238960151487b7107b56b8245029","assignee":{"login":"rsanchezsaez","id":444313,"avatar_url":"https://avatars.githubusercontent.com/u/444313?v=3","gravatar_id":"","url":"https://api.github.com/users/rsanchezsaez","html_url":"https://github.com/rsanchezsaez","followers_url":"https://api.github.com/users/rsanchezsaez/followers","following_url":"https://api.github.com/users/rsanchezsaez/following{/other_user}","gists_url":"https://api.github.com/users/rsanchezsaez/gists{/gist_id}","starred_url":"https://api.github.com/users/rsanchezsaez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsanchezsaez/subscriptions","organizations_url":"https://api.github.com/users/rsanchezsaez/orgs","repos_url":"https://api.github.com/users/rsanchezsaez/repos","events_url":"https://api.github.com/users/rsanchezsaez/events{/privacy}","received_events_url":"https://api.github.com/users/rsanchezsaez/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/178/commits","review_comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/178/comments","review_comment_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/178/comments","statuses_url":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/36a4d7e2002926cd3ee3c9a0931329986c09e6d2","head":{"label":"coxy1989:coxy-graphs","ref":"coxy-graphs","sha":"36a4d7e2002926cd3ee3c9a0931329986c09e6d2","user":{"login":"coxy1989","id":5890600,"avatar_url":"https://avatars.githubusercontent.com/u/5890600?v=3","gravatar_id":"","url":"https://api.github.com/users/coxy1989","html_url":"https://github.com/coxy1989","followers_url":"https://api.github.com/users/coxy1989/followers","following_url":"https://api.github.com/users/coxy1989/following{/other_user}","gists_url":"https://api.github.com/users/coxy1989/gists{/gist_id}","starred_url":"https://api.github.com/users/coxy1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coxy1989/subscriptions","organizations_url":"https://api.github.com/users/coxy1989/orgs","repos_url":"https://api.github.com/users/coxy1989/repos","events_url":"https://api.github.com/users/coxy1989/events{/privacy}","received_events_url":"https://api.github.com/users/coxy1989/received_events","type":"User","site_admin":false},"repo":{"id":34568721,"name":"ResearchKit","full_name":"coxy1989/ResearchKit","owner":{"login":"coxy1989","id":5890600,"avatar_url":"https://avatars.githubusercontent.com/u/5890600?v=3","gravatar_id":"","url":"https://api.github.com/users/coxy1989","html_url":"https://github.com/coxy1989","followers_url":"https://api.github.com/users/coxy1989/followers","following_url":"https://api.github.com/users/coxy1989/following{/other_user}","gists_url":"https://api.github.com/users/coxy1989/gists{/gist_id}","starred_url":"https://api.github.com/users/coxy1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coxy1989/subscriptions","organizations_url":"https://api.github.com/users/coxy1989/orgs","repos_url":"https://api.github.com/users/coxy1989/repos","events_url":"https://api.github.com/users/coxy1989/events{/privacy}","received_events_url":"https://api.github.com/users/coxy1989/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coxy1989/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/coxy1989/ResearchKit","forks_url":"https://api.github.com/repos/coxy1989/ResearchKit/forks","keys_url":"https://api.github.com/repos/coxy1989/ResearchKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coxy1989/ResearchKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coxy1989/ResearchKit/teams","hooks_url":"https://api.github.com/repos/coxy1989/ResearchKit/hooks","issue_events_url":"https://api.github.com/repos/coxy1989/ResearchKit/issues/events{/number}","events_url":"https://api.github.com/repos/coxy1989/ResearchKit/events","assignees_url":"https://api.github.com/repos/coxy1989/ResearchKit/assignees{/user}","branches_url":"https://api.github.com/repos/coxy1989/ResearchKit/branches{/branch}","tags_url":"https://api.github.com/repos/coxy1989/ResearchKit/tags","blobs_url":"https://api.github.com/repos/coxy1989/ResearchKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coxy1989/ResearchKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coxy1989/ResearchKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/coxy1989/ResearchKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coxy1989/ResearchKit/statuses/{sha}","languages_url":"https://api.github.com/repos/coxy1989/ResearchKit/languages","stargazers_url":"https://api.github.com/repos/coxy1989/ResearchKit/stargazers","contributors_url":"https://api.github.com/repos/coxy1989/ResearchKit/contributors","subscribers_url":"https://api.github.com/repos/coxy1989/ResearchKit/subscribers","subscription_url":"https://api.github.com/repos/coxy1989/ResearchKit/subscription","commits_url":"https://api.github.com/repos/coxy1989/ResearchKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/coxy1989/ResearchKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/coxy1989/ResearchKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/coxy1989/ResearchKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/coxy1989/ResearchKit/contents/{+path}","compare_url":"https://api.github.com/repos/coxy1989/ResearchKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coxy1989/ResearchKit/merges","archive_url":"https://api.github.com/repos/coxy1989/ResearchKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coxy1989/ResearchKit/downloads","issues_url":"https://api.github.com/repos/coxy1989/ResearchKit/issues{/number}","pulls_url":"https://api.github.com/repos/coxy1989/ResearchKit/pulls{/number}","milestones_url":"https://api.github.com/repos/coxy1989/ResearchKit/milestones{/number}","notifications_url":"https://api.github.com/repos/coxy1989/ResearchKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coxy1989/ResearchKit/labels{/name}","releases_url":"https://api.github.com/repos/coxy1989/ResearchKit/releases{/id}","created_at":"2015-04-25T13:04:35Z","updated_at":"2015-05-06T22:44:29Z","pushed_at":"2015-06-17T18:56:54Z","git_url":"git://github.com/coxy1989/ResearchKit.git","ssh_url":"git@github.com:coxy1989/ResearchKit.git","clone_url":"https://github.com/coxy1989/ResearchKit.git","svn_url":"https://github.com/coxy1989/ResearchKit","homepage":"","size":13987,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"ResearchKit:master","ref":"master","sha":"0736e68401e86df7715ed180889565e44bfa7a7c","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-06-17T11:33:09Z","pushed_at":"2015-06-17T18:56:55Z","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":21841,"stargazers_count":3798,"watchers_count":3798,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":473,"mirror_url":null,"open_issues_count":39,"forks":473,"open_issues":39,"watchers":3798,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/178"},"html":{"href":"https://github.com/ResearchKit/ResearchKit/pull/178"},"issue":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/178"},"comments":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/178/comments"},"review_comments":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/178/comments"},"review_comment":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/178/commits"},"statuses":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/36a4d7e2002926cd3ee3c9a0931329986c09e6d2"}}}}