{"action":"created","comment":{"url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls/comments/24875118","id":24875118,"diff_hunk":"@@ -0,0 +1,207 @@\n+//\n+//  Device.swift\n+//  imHome\n+//\n+//  Created by Kevin Xu on 2/9/15.\n+//  Copyright (c) 2015 Alpha Labs, Inc. All rights reserved.\n+//","path":"Device.swift","position":null,"original_position":7,"commit_id":"a0ac05b8ef4e1345aa190b0b1ec055ed2deb806b","original_commit_id":"8dcc78a00bb14ec4127eea209fa642bf30c1b2a8","user":{"login":"imkevinxu","id":644634,"avatar_url":"https://avatars.githubusercontent.com/u/644634?v=3","gravatar_id":"","url":"https://api.github.com/users/imkevinxu","html_url":"https://github.com/imkevinxu","followers_url":"https://api.github.com/users/imkevinxu/followers","following_url":"https://api.github.com/users/imkevinxu/following{/other_user}","gists_url":"https://api.github.com/users/imkevinxu/gists{/gist_id}","starred_url":"https://api.github.com/users/imkevinxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imkevinxu/subscriptions","organizations_url":"https://api.github.com/users/imkevinxu/orgs","repos_url":"https://api.github.com/users/imkevinxu/repos","events_url":"https://api.github.com/users/imkevinxu/events{/privacy}","received_events_url":"https://api.github.com/users/imkevinxu/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2015-02-18T02:25:56Z","updated_at":"2015-02-18T02:25:56Z","html_url":"https://github.com/zackshapiro/swift-cheat-sheet/pull/11#discussion_r24875118","pull_request_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls/comments/24875118"},"html":{"href":"https://github.com/zackshapiro/swift-cheat-sheet/pull/11#discussion_r24875118"},"pull_request":{"href":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls/11","id":29354912,"html_url":"https://github.com/zackshapiro/swift-cheat-sheet/pull/11","diff_url":"https://github.com/zackshapiro/swift-cheat-sheet/pull/11.diff","patch_url":"https://github.com/zackshapiro/swift-cheat-sheet/pull/11.patch","issue_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/issues/11","number":11,"state":"open","locked":false,"title":"Added Device.swift","user":{"login":"imkevinxu","id":644634,"avatar_url":"https://avatars.githubusercontent.com/u/644634?v=3","gravatar_id":"","url":"https://api.github.com/users/imkevinxu","html_url":"https://github.com/imkevinxu","followers_url":"https://api.github.com/users/imkevinxu/followers","following_url":"https://api.github.com/users/imkevinxu/following{/other_user}","gists_url":"https://api.github.com/users/imkevinxu/gists{/gist_id}","starred_url":"https://api.github.com/users/imkevinxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imkevinxu/subscriptions","organizations_url":"https://api.github.com/users/imkevinxu/orgs","repos_url":"https://api.github.com/users/imkevinxu/repos","events_url":"https://api.github.com/users/imkevinxu/events{/privacy}","received_events_url":"https://api.github.com/users/imkevinxu/received_events","type":"User","site_admin":false},"body":"Checks for OS version, device size, and what kind of device is being used","created_at":"2015-02-16T07:50:17Z","updated_at":"2015-02-18T02:25:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26df03583b03b39af0492c95fd2eccccef1ba259","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls/11/commits","review_comments_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls/11/comments","review_comment_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/issues/11/comments","statuses_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/statuses/a0ac05b8ef4e1345aa190b0b1ec055ed2deb806b","head":{"label":"imkevinxu:patch-1","ref":"patch-1","sha":"a0ac05b8ef4e1345aa190b0b1ec055ed2deb806b","user":{"login":"imkevinxu","id":644634,"avatar_url":"https://avatars.githubusercontent.com/u/644634?v=3","gravatar_id":"","url":"https://api.github.com/users/imkevinxu","html_url":"https://github.com/imkevinxu","followers_url":"https://api.github.com/users/imkevinxu/followers","following_url":"https://api.github.com/users/imkevinxu/following{/other_user}","gists_url":"https://api.github.com/users/imkevinxu/gists{/gist_id}","starred_url":"https://api.github.com/users/imkevinxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imkevinxu/subscriptions","organizations_url":"https://api.github.com/users/imkevinxu/orgs","repos_url":"https://api.github.com/users/imkevinxu/repos","events_url":"https://api.github.com/users/imkevinxu/events{/privacy}","received_events_url":"https://api.github.com/users/imkevinxu/received_events","type":"User","site_admin":false},"repo":{"id":30858657,"name":"swift-cheat-sheet","full_name":"imkevinxu/swift-cheat-sheet","owner":{"login":"imkevinxu","id":644634,"avatar_url":"https://avatars.githubusercontent.com/u/644634?v=3","gravatar_id":"","url":"https://api.github.com/users/imkevinxu","html_url":"https://github.com/imkevinxu","followers_url":"https://api.github.com/users/imkevinxu/followers","following_url":"https://api.github.com/users/imkevinxu/following{/other_user}","gists_url":"https://api.github.com/users/imkevinxu/gists{/gist_id}","starred_url":"https://api.github.com/users/imkevinxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imkevinxu/subscriptions","organizations_url":"https://api.github.com/users/imkevinxu/orgs","repos_url":"https://api.github.com/users/imkevinxu/repos","events_url":"https://api.github.com/users/imkevinxu/events{/privacy}","received_events_url":"https://api.github.com/users/imkevinxu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/imkevinxu/swift-cheat-sheet","description":"These are things I look up frequently or spent some time figuring out. I hope they help you too","fork":true,"url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet","forks_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/forks","keys_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/teams","hooks_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/hooks","issue_events_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/issues/events{/number}","events_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/events","assignees_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/assignees{/user}","branches_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/branches{/branch}","tags_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/tags","blobs_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/git/refs{/sha}","trees_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/statuses/{sha}","languages_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/languages","stargazers_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/stargazers","contributors_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/contributors","subscribers_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/subscribers","subscription_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/subscription","commits_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/commits{/sha}","git_commits_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/git/commits{/sha}","comments_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/comments{/number}","issue_comment_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/issues/comments/{number}","contents_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/contents/{+path}","compare_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/merges","archive_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/downloads","issues_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/issues{/number}","pulls_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/pulls{/number}","milestones_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/milestones{/number}","notifications_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/labels{/name}","releases_url":"https://api.github.com/repos/imkevinxu/swift-cheat-sheet/releases{/id}","created_at":"2015-02-16T07:49:48Z","updated_at":"2015-02-16T07:49:48Z","pushed_at":"2015-02-18T02:25:46Z","git_url":"git://github.com/imkevinxu/swift-cheat-sheet.git","ssh_url":"git@github.com:imkevinxu/swift-cheat-sheet.git","clone_url":"https://github.com/imkevinxu/swift-cheat-sheet.git","svn_url":"https://github.com/imkevinxu/swift-cheat-sheet","homepage":null,"size":296,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"zackshapiro:master","ref":"master","sha":"7d38743defb57fbc9c8a36e14e94019100123dac","user":{"login":"zackshapiro","id":882251,"avatar_url":"https://avatars.githubusercontent.com/u/882251?v=3","gravatar_id":"","url":"https://api.github.com/users/zackshapiro","html_url":"https://github.com/zackshapiro","followers_url":"https://api.github.com/users/zackshapiro/followers","following_url":"https://api.github.com/users/zackshapiro/following{/other_user}","gists_url":"https://api.github.com/users/zackshapiro/gists{/gist_id}","starred_url":"https://api.github.com/users/zackshapiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zackshapiro/subscriptions","organizations_url":"https://api.github.com/users/zackshapiro/orgs","repos_url":"https://api.github.com/users/zackshapiro/repos","events_url":"https://api.github.com/users/zackshapiro/events{/privacy}","received_events_url":"https://api.github.com/users/zackshapiro/received_events","type":"User","site_admin":false},"repo":{"id":28897566,"name":"swift-cheat-sheet","full_name":"zackshapiro/swift-cheat-sheet","owner":{"login":"zackshapiro","id":882251,"avatar_url":"https://avatars.githubusercontent.com/u/882251?v=3","gravatar_id":"","url":"https://api.github.com/users/zackshapiro","html_url":"https://github.com/zackshapiro","followers_url":"https://api.github.com/users/zackshapiro/followers","following_url":"https://api.github.com/users/zackshapiro/following{/other_user}","gists_url":"https://api.github.com/users/zackshapiro/gists{/gist_id}","starred_url":"https://api.github.com/users/zackshapiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zackshapiro/subscriptions","organizations_url":"https://api.github.com/users/zackshapiro/orgs","repos_url":"https://api.github.com/users/zackshapiro/repos","events_url":"https://api.github.com/users/zackshapiro/events{/privacy}","received_events_url":"https://api.github.com/users/zackshapiro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zackshapiro/swift-cheat-sheet","description":"These are things I look up frequently or spent some time figuring out. I hope they help you too","fork":false,"url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet","forks_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/forks","keys_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/teams","hooks_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/hooks","issue_events_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/issues/events{/number}","events_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/events","assignees_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/assignees{/user}","branches_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/branches{/branch}","tags_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/tags","blobs_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/git/refs{/sha}","trees_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/statuses/{sha}","languages_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/languages","stargazers_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/stargazers","contributors_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/contributors","subscribers_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/subscribers","subscription_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/subscription","commits_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/commits{/sha}","git_commits_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/git/commits{/sha}","comments_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/comments{/number}","issue_comment_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/issues/comments/{number}","contents_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/contents/{+path}","compare_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/merges","archive_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/downloads","issues_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/issues{/number}","pulls_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls{/number}","milestones_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/milestones{/number}","notifications_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/labels{/name}","releases_url":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/releases{/id}","created_at":"2015-01-07T04:02:24Z","updated_at":"2015-02-17T20:54:25Z","pushed_at":"2015-02-17T20:54:25Z","git_url":"git://github.com/zackshapiro/swift-cheat-sheet.git","ssh_url":"git@github.com:zackshapiro/swift-cheat-sheet.git","clone_url":"https://github.com/zackshapiro/swift-cheat-sheet.git","svn_url":"https://github.com/zackshapiro/swift-cheat-sheet","homepage":null,"size":296,"stargazers_count":16,"watchers_count":16,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls/11"},"html":{"href":"https://github.com/zackshapiro/swift-cheat-sheet/pull/11"},"issue":{"href":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/issues/11"},"comments":{"href":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/zackshapiro/swift-cheat-sheet/statuses/a0ac05b8ef4e1345aa190b0b1ec055ed2deb806b"}}}}