{"action":"created","comment":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments/68833374","id":68833374,"diff_hunk":"@@ -51,4 +51,7 @@ ORK_EXTERN NSDateComponents *ORKTimeOfDayComponentsFromString(NSString *string)\n \n ORK_EXTERN NSDateFormatter *ORKResultDateTimeFormatter() ORK_AVAILABLE_DECL;\n ORK_EXTERN NSDateFormatter *ORKResultTimeFormatter() ORK_AVAILABLE_DECL;\n-ORK_EXTERN NSDateFormatter *ORKResultDateFormatter() ORK_AVAILABLE_DECL;\n\\ No newline at end of file\n+ORK_EXTERN NSDateFormatter *ORKResultDateFormatter() ORK_AVAILABLE_DECL;\n+\n+#define _ORK_HTMLfromTemplate(name) \\\n+NSString stringWithFormat:[ORKBundle() localizedStringForKey:(name) value:@\"\" table:@\"HTMLTemplates\"]","path":"ResearchKit/Common/ORKDefines_Private.h","position":9,"original_position":9,"commit_id":"385dc49518aeb1e82ef6b132c638d3d98048b2fb","original_commit_id":"385dc49518aeb1e82ef6b132c638d3d98048b2fb","user":{"login":"oliverschaefer","id":13077832,"avatar_url":"https://avatars.githubusercontent.com/u/13077832?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverschaefer","html_url":"https://github.com/oliverschaefer","followers_url":"https://api.github.com/users/oliverschaefer/followers","following_url":"https://api.github.com/users/oliverschaefer/following{/other_user}","gists_url":"https://api.github.com/users/oliverschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverschaefer/subscriptions","organizations_url":"https://api.github.com/users/oliverschaefer/orgs","repos_url":"https://api.github.com/users/oliverschaefer/repos","events_url":"https://api.github.com/users/oliverschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/oliverschaefer/received_events","type":"User","site_admin":false},"body":"I was looking for a way to avoid writing the same code over and over again. What about a private method that takes a variadic parameter list and passes that to stringWithFormat ?","created_at":"2016-06-28T20:11:15Z","updated_at":"2016-06-28T20:11:15Z","html_url":"https://github.com/ResearchKit/ResearchKit/pull/672#discussion_r68833374","pull_request_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/672","_links":{"self":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments/68833374"},"html":{"href":"https://github.com/ResearchKit/ResearchKit/pull/672#discussion_r68833374"},"pull_request":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/672"}}},"pull_request":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/672","id":68723155,"html_url":"https://github.com/ResearchKit/ResearchKit/pull/672","diff_url":"https://github.com/ResearchKit/ResearchKit/pull/672.diff","patch_url":"https://github.com/ResearchKit/ResearchKit/pull/672.patch","issue_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/672","number":672,"state":"open","locked":false,"title":"Printing support","user":{"login":"oliverschaefer","id":13077832,"avatar_url":"https://avatars.githubusercontent.com/u/13077832?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverschaefer","html_url":"https://github.com/oliverschaefer","followers_url":"https://api.github.com/users/oliverschaefer/followers","following_url":"https://api.github.com/users/oliverschaefer/following{/other_user}","gists_url":"https://api.github.com/users/oliverschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverschaefer/subscriptions","organizations_url":"https://api.github.com/users/oliverschaefer/orgs","repos_url":"https://api.github.com/users/oliverschaefer/repos","events_url":"https://api.github.com/users/oliverschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/oliverschaefer/received_events","type":"User","site_admin":false},"body":"This PR adds basic printing support to ResearchKit (#479). To try the functionality run the ORKTest app and hit Learn more on a step of your choice.","created_at":"2016-05-03T15:19:15Z","updated_at":"2016-06-28T20:11:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc725b4946ef9ea51ebd8031ab7cca1102c7a2ab","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/672/commits","review_comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/672/comments","review_comment_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/672/comments","statuses_url":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/385dc49518aeb1e82ef6b132c638d3d98048b2fb","head":{"label":"oliverschaefer:printing","ref":"printing","sha":"385dc49518aeb1e82ef6b132c638d3d98048b2fb","user":{"login":"oliverschaefer","id":13077832,"avatar_url":"https://avatars.githubusercontent.com/u/13077832?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverschaefer","html_url":"https://github.com/oliverschaefer","followers_url":"https://api.github.com/users/oliverschaefer/followers","following_url":"https://api.github.com/users/oliverschaefer/following{/other_user}","gists_url":"https://api.github.com/users/oliverschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverschaefer/subscriptions","organizations_url":"https://api.github.com/users/oliverschaefer/orgs","repos_url":"https://api.github.com/users/oliverschaefer/repos","events_url":"https://api.github.com/users/oliverschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/oliverschaefer/received_events","type":"User","site_admin":false},"repo":{"id":42804804,"name":"ResearchKit","full_name":"oliverschaefer/ResearchKit","owner":{"login":"oliverschaefer","id":13077832,"avatar_url":"https://avatars.githubusercontent.com/u/13077832?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverschaefer","html_url":"https://github.com/oliverschaefer","followers_url":"https://api.github.com/users/oliverschaefer/followers","following_url":"https://api.github.com/users/oliverschaefer/following{/other_user}","gists_url":"https://api.github.com/users/oliverschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverschaefer/subscriptions","organizations_url":"https://api.github.com/users/oliverschaefer/orgs","repos_url":"https://api.github.com/users/oliverschaefer/repos","events_url":"https://api.github.com/users/oliverschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/oliverschaefer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oliverschaefer/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/oliverschaefer/ResearchKit","forks_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/forks","keys_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/teams","hooks_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/hooks","issue_events_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/issues/events{/number}","events_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/events","assignees_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/assignees{/user}","branches_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/branches{/branch}","tags_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/tags","blobs_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/statuses/{sha}","languages_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/languages","stargazers_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/stargazers","contributors_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/contributors","subscribers_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/subscribers","subscription_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/subscription","commits_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/contents/{+path}","compare_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/merges","archive_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/downloads","issues_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/issues{/number}","pulls_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/pulls{/number}","milestones_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/milestones{/number}","notifications_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/labels{/name}","releases_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/releases{/id}","deployments_url":"https://api.github.com/repos/oliverschaefer/ResearchKit/deployments","created_at":"2015-09-20T07:38:42Z","updated_at":"2016-01-12T16:23:01Z","pushed_at":"2016-06-09T15:11:32Z","git_url":"git://github.com/oliverschaefer/ResearchKit.git","ssh_url":"git@github.com:oliverschaefer/ResearchKit.git","clone_url":"https://github.com/oliverschaefer/ResearchKit.git","svn_url":"https://github.com/oliverschaefer/ResearchKit","homepage":"","size":23000,"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":"e9d7b847da933ad5371bc637b1b6867b474e9937","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}","deployments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/deployments","created_at":"2015-03-10T20:05:32Z","updated_at":"2016-06-28T08:07:20Z","pushed_at":"2016-06-28T18:56:18Z","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":28403,"stargazers_count":4640,"watchers_count":4640,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":798,"mirror_url":null,"open_issues_count":120,"forks":798,"open_issues":120,"watchers":4640,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/672"},"html":{"href":"https://github.com/ResearchKit/ResearchKit/pull/672"},"issue":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/672"},"comments":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/672/comments"},"review_comments":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/672/comments"},"review_comment":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/672/commits"},"statuses":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/385dc49518aeb1e82ef6b132c638d3d98048b2fb"}}}}
{"actor":{"display_login":"oliverschaefer"}}