{"action":"created","comment":{"url":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls/comments/44232603","id":44232603,"diff_hunk":"@@ -0,0 +1,32 @@\n+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n+<plist version=\"1.0\">\n+<dict>\n+\t<key>SchemeUserState</key>\n+\t<dict>\n+\t\t<key>weightFit.xcscheme</key>\n+\t\t<dict>\n+\t\t\t<key>orderHint</key>\n+\t\t\t<integer>0</integer>\n+\t\t</dict>\n+\t</dict>\n+\t<key>SuppressBuildableAutocreation</key>\n+\t<dict>\n+\t\t<key>56BFD52C1BDBEBF600C5753A</key>\n+\t\t<dict>\n+\t\t\t<key>primary</key>\n+\t\t\t<true/>\n+\t\t</dict>\n+\t\t<key>56BFD5451BDBEBF600C5753A</key>\n+\t\t<dict>\n+\t\t\t<key>primary</key>\n+\t\t\t<true/>\n+\t\t</dict>\n+\t\t<key>56BFD5501BDBEBF600C5753A</key>\n+\t\t<dict>\n+\t\t\t<key>primary</key>\n+\t\t\t<true/>\n+\t\t</dict>\n+\t</dict>\n+</dict>\n+</plist>","path":"assets/weightFit/weightFit.xcodeproj/xcuserdata/ios.xcuserdatad/xcschemes/xcschememanagement.plist","position":32,"original_position":32,"commit_id":"45be2a49a2fe52532c5fb7c8439915acc23cd029","original_commit_id":"45be2a49a2fe52532c5fb7c8439915acc23cd029","user":{"login":"brandevnull","id":7798222,"avatar_url":"https://avatars.githubusercontent.com/u/7798222?v=3","gravatar_id":"","url":"https://api.github.com/users/brandevnull","html_url":"https://github.com/brandevnull","followers_url":"https://api.github.com/users/brandevnull/followers","following_url":"https://api.github.com/users/brandevnull/following{/other_user}","gists_url":"https://api.github.com/users/brandevnull/gists{/gist_id}","starred_url":"https://api.github.com/users/brandevnull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandevnull/subscriptions","organizations_url":"https://api.github.com/users/brandevnull/orgs","repos_url":"https://api.github.com/users/brandevnull/repos","events_url":"https://api.github.com/users/brandevnull/events{/privacy}","received_events_url":"https://api.github.com/users/brandevnull/received_events","type":"User","site_admin":false},"body":"I can get rid of this part of the diff. Not sure why it's showing up here...","created_at":"2015-11-08T23:17:31Z","updated_at":"2015-11-08T23:17:31Z","html_url":"https://github.com/iOSDevClass/WeighFit/pull/3#discussion_r44232603","pull_request_url":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls/comments/44232603"},"html":{"href":"https://github.com/iOSDevClass/WeighFit/pull/3#discussion_r44232603"},"pull_request":{"href":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls/3","id":50073537,"html_url":"https://github.com/iOSDevClass/WeighFit/pull/3","diff_url":"https://github.com/iOSDevClass/WeighFit/pull/3.diff","patch_url":"https://github.com/iOSDevClass/WeighFit/pull/3.patch","issue_url":"https://api.github.com/repos/iOSDevClass/WeighFit/issues/3","number":3,"state":"open","locked":false,"title":"Refactor to use new WeighFitModel","user":{"login":"brandevnull","id":7798222,"avatar_url":"https://avatars.githubusercontent.com/u/7798222?v=3","gravatar_id":"","url":"https://api.github.com/users/brandevnull","html_url":"https://github.com/brandevnull","followers_url":"https://api.github.com/users/brandevnull/followers","following_url":"https://api.github.com/users/brandevnull/following{/other_user}","gists_url":"https://api.github.com/users/brandevnull/gists{/gist_id}","starred_url":"https://api.github.com/users/brandevnull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandevnull/subscriptions","organizations_url":"https://api.github.com/users/brandevnull/orgs","repos_url":"https://api.github.com/users/brandevnull/repos","events_url":"https://api.github.com/users/brandevnull/events{/privacy}","received_events_url":"https://api.github.com/users/brandevnull/received_events","type":"User","site_admin":false},"body":"Hey @sprintup \r\n\r\nSaw your comments about delegation in slack -- Here is a quick try at simplifying some things.\r\n\r\nI moved some things into a new WeighFitModel class. I think this does some useful things:\r\n - totally remove the need for the kind of delegation that was causing problems. All the VCs get what they need from the Model when they need it.\r\n - Eventually we could move the user defaults code into this model. Right now it looks like it's in a couple different places...\r\n - This Model is the place where we could add HealthKit integration.\r\n\r\nThis was a pretty quick stab. I'm curious what you think!","created_at":"2015-11-08T23:16:07Z","updated_at":"2015-11-08T23:17:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5ed8dd79c1532a609121a4593e09dbcd1ce0c1c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls/3/commits","review_comments_url":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls/3/comments","review_comment_url":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iOSDevClass/WeighFit/issues/3/comments","statuses_url":"https://api.github.com/repos/iOSDevClass/WeighFit/statuses/45be2a49a2fe52532c5fb7c8439915acc23cd029","head":{"label":"iOSDevClass:refactor-model","ref":"refactor-model","sha":"45be2a49a2fe52532c5fb7c8439915acc23cd029","user":{"login":"iOSDevClass","id":15054420,"avatar_url":"https://avatars.githubusercontent.com/u/15054420?v=3","gravatar_id":"","url":"https://api.github.com/users/iOSDevClass","html_url":"https://github.com/iOSDevClass","followers_url":"https://api.github.com/users/iOSDevClass/followers","following_url":"https://api.github.com/users/iOSDevClass/following{/other_user}","gists_url":"https://api.github.com/users/iOSDevClass/gists{/gist_id}","starred_url":"https://api.github.com/users/iOSDevClass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOSDevClass/subscriptions","organizations_url":"https://api.github.com/users/iOSDevClass/orgs","repos_url":"https://api.github.com/users/iOSDevClass/repos","events_url":"https://api.github.com/users/iOSDevClass/events{/privacy}","received_events_url":"https://api.github.com/users/iOSDevClass/received_events","type":"Organization","site_admin":false},"repo":{"id":43981059,"name":"WeighFit","full_name":"iOSDevClass/WeighFit","owner":{"login":"iOSDevClass","id":15054420,"avatar_url":"https://avatars.githubusercontent.com/u/15054420?v=3","gravatar_id":"","url":"https://api.github.com/users/iOSDevClass","html_url":"https://github.com/iOSDevClass","followers_url":"https://api.github.com/users/iOSDevClass/followers","following_url":"https://api.github.com/users/iOSDevClass/following{/other_user}","gists_url":"https://api.github.com/users/iOSDevClass/gists{/gist_id}","starred_url":"https://api.github.com/users/iOSDevClass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOSDevClass/subscriptions","organizations_url":"https://api.github.com/users/iOSDevClass/orgs","repos_url":"https://api.github.com/users/iOSDevClass/repos","events_url":"https://api.github.com/users/iOSDevClass/events{/privacy}","received_events_url":"https://api.github.com/users/iOSDevClass/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iOSDevClass/WeighFit","description":"App to submit to app store by November 8","fork":false,"url":"https://api.github.com/repos/iOSDevClass/WeighFit","forks_url":"https://api.github.com/repos/iOSDevClass/WeighFit/forks","keys_url":"https://api.github.com/repos/iOSDevClass/WeighFit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iOSDevClass/WeighFit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iOSDevClass/WeighFit/teams","hooks_url":"https://api.github.com/repos/iOSDevClass/WeighFit/hooks","issue_events_url":"https://api.github.com/repos/iOSDevClass/WeighFit/issues/events{/number}","events_url":"https://api.github.com/repos/iOSDevClass/WeighFit/events","assignees_url":"https://api.github.com/repos/iOSDevClass/WeighFit/assignees{/user}","branches_url":"https://api.github.com/repos/iOSDevClass/WeighFit/branches{/branch}","tags_url":"https://api.github.com/repos/iOSDevClass/WeighFit/tags","blobs_url":"https://api.github.com/repos/iOSDevClass/WeighFit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iOSDevClass/WeighFit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iOSDevClass/WeighFit/git/refs{/sha}","trees_url":"https://api.github.com/repos/iOSDevClass/WeighFit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iOSDevClass/WeighFit/statuses/{sha}","languages_url":"https://api.github.com/repos/iOSDevClass/WeighFit/languages","stargazers_url":"https://api.github.com/repos/iOSDevClass/WeighFit/stargazers","contributors_url":"https://api.github.com/repos/iOSDevClass/WeighFit/contributors","subscribers_url":"https://api.github.com/repos/iOSDevClass/WeighFit/subscribers","subscription_url":"https://api.github.com/repos/iOSDevClass/WeighFit/subscription","commits_url":"https://api.github.com/repos/iOSDevClass/WeighFit/commits{/sha}","git_commits_url":"https://api.github.com/repos/iOSDevClass/WeighFit/git/commits{/sha}","comments_url":"https://api.github.com/repos/iOSDevClass/WeighFit/comments{/number}","issue_comment_url":"https://api.github.com/repos/iOSDevClass/WeighFit/issues/comments{/number}","contents_url":"https://api.github.com/repos/iOSDevClass/WeighFit/contents/{+path}","compare_url":"https://api.github.com/repos/iOSDevClass/WeighFit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iOSDevClass/WeighFit/merges","archive_url":"https://api.github.com/repos/iOSDevClass/WeighFit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iOSDevClass/WeighFit/downloads","issues_url":"https://api.github.com/repos/iOSDevClass/WeighFit/issues{/number}","pulls_url":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls{/number}","milestones_url":"https://api.github.com/repos/iOSDevClass/WeighFit/milestones{/number}","notifications_url":"https://api.github.com/repos/iOSDevClass/WeighFit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iOSDevClass/WeighFit/labels{/name}","releases_url":"https://api.github.com/repos/iOSDevClass/WeighFit/releases{/id}","created_at":"2015-10-09T21:28:23Z","updated_at":"2015-10-24T23:06:58Z","pushed_at":"2015-11-08T23:16:07Z","git_url":"git://github.com/iOSDevClass/WeighFit.git","ssh_url":"git@github.com:iOSDevClass/WeighFit.git","clone_url":"https://github.com/iOSDevClass/WeighFit.git","svn_url":"https://github.com/iOSDevClass/WeighFit","homepage":null,"size":3873,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"iOSDevClass:master","ref":"master","sha":"29a3fc9e567d565839239553e7d9d5385944fc3d","user":{"login":"iOSDevClass","id":15054420,"avatar_url":"https://avatars.githubusercontent.com/u/15054420?v=3","gravatar_id":"","url":"https://api.github.com/users/iOSDevClass","html_url":"https://github.com/iOSDevClass","followers_url":"https://api.github.com/users/iOSDevClass/followers","following_url":"https://api.github.com/users/iOSDevClass/following{/other_user}","gists_url":"https://api.github.com/users/iOSDevClass/gists{/gist_id}","starred_url":"https://api.github.com/users/iOSDevClass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOSDevClass/subscriptions","organizations_url":"https://api.github.com/users/iOSDevClass/orgs","repos_url":"https://api.github.com/users/iOSDevClass/repos","events_url":"https://api.github.com/users/iOSDevClass/events{/privacy}","received_events_url":"https://api.github.com/users/iOSDevClass/received_events","type":"Organization","site_admin":false},"repo":{"id":43981059,"name":"WeighFit","full_name":"iOSDevClass/WeighFit","owner":{"login":"iOSDevClass","id":15054420,"avatar_url":"https://avatars.githubusercontent.com/u/15054420?v=3","gravatar_id":"","url":"https://api.github.com/users/iOSDevClass","html_url":"https://github.com/iOSDevClass","followers_url":"https://api.github.com/users/iOSDevClass/followers","following_url":"https://api.github.com/users/iOSDevClass/following{/other_user}","gists_url":"https://api.github.com/users/iOSDevClass/gists{/gist_id}","starred_url":"https://api.github.com/users/iOSDevClass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOSDevClass/subscriptions","organizations_url":"https://api.github.com/users/iOSDevClass/orgs","repos_url":"https://api.github.com/users/iOSDevClass/repos","events_url":"https://api.github.com/users/iOSDevClass/events{/privacy}","received_events_url":"https://api.github.com/users/iOSDevClass/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iOSDevClass/WeighFit","description":"App to submit to app store by November 8","fork":false,"url":"https://api.github.com/repos/iOSDevClass/WeighFit","forks_url":"https://api.github.com/repos/iOSDevClass/WeighFit/forks","keys_url":"https://api.github.com/repos/iOSDevClass/WeighFit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iOSDevClass/WeighFit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iOSDevClass/WeighFit/teams","hooks_url":"https://api.github.com/repos/iOSDevClass/WeighFit/hooks","issue_events_url":"https://api.github.com/repos/iOSDevClass/WeighFit/issues/events{/number}","events_url":"https://api.github.com/repos/iOSDevClass/WeighFit/events","assignees_url":"https://api.github.com/repos/iOSDevClass/WeighFit/assignees{/user}","branches_url":"https://api.github.com/repos/iOSDevClass/WeighFit/branches{/branch}","tags_url":"https://api.github.com/repos/iOSDevClass/WeighFit/tags","blobs_url":"https://api.github.com/repos/iOSDevClass/WeighFit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iOSDevClass/WeighFit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iOSDevClass/WeighFit/git/refs{/sha}","trees_url":"https://api.github.com/repos/iOSDevClass/WeighFit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iOSDevClass/WeighFit/statuses/{sha}","languages_url":"https://api.github.com/repos/iOSDevClass/WeighFit/languages","stargazers_url":"https://api.github.com/repos/iOSDevClass/WeighFit/stargazers","contributors_url":"https://api.github.com/repos/iOSDevClass/WeighFit/contributors","subscribers_url":"https://api.github.com/repos/iOSDevClass/WeighFit/subscribers","subscription_url":"https://api.github.com/repos/iOSDevClass/WeighFit/subscription","commits_url":"https://api.github.com/repos/iOSDevClass/WeighFit/commits{/sha}","git_commits_url":"https://api.github.com/repos/iOSDevClass/WeighFit/git/commits{/sha}","comments_url":"https://api.github.com/repos/iOSDevClass/WeighFit/comments{/number}","issue_comment_url":"https://api.github.com/repos/iOSDevClass/WeighFit/issues/comments{/number}","contents_url":"https://api.github.com/repos/iOSDevClass/WeighFit/contents/{+path}","compare_url":"https://api.github.com/repos/iOSDevClass/WeighFit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iOSDevClass/WeighFit/merges","archive_url":"https://api.github.com/repos/iOSDevClass/WeighFit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iOSDevClass/WeighFit/downloads","issues_url":"https://api.github.com/repos/iOSDevClass/WeighFit/issues{/number}","pulls_url":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls{/number}","milestones_url":"https://api.github.com/repos/iOSDevClass/WeighFit/milestones{/number}","notifications_url":"https://api.github.com/repos/iOSDevClass/WeighFit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iOSDevClass/WeighFit/labels{/name}","releases_url":"https://api.github.com/repos/iOSDevClass/WeighFit/releases{/id}","created_at":"2015-10-09T21:28:23Z","updated_at":"2015-10-24T23:06:58Z","pushed_at":"2015-11-08T23:16:07Z","git_url":"git://github.com/iOSDevClass/WeighFit.git","ssh_url":"git@github.com:iOSDevClass/WeighFit.git","clone_url":"https://github.com/iOSDevClass/WeighFit.git","svn_url":"https://github.com/iOSDevClass/WeighFit","homepage":null,"size":3873,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls/3"},"html":{"href":"https://github.com/iOSDevClass/WeighFit/pull/3"},"issue":{"href":"https://api.github.com/repos/iOSDevClass/WeighFit/issues/3"},"comments":{"href":"https://api.github.com/repos/iOSDevClass/WeighFit/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iOSDevClass/WeighFit/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/iOSDevClass/WeighFit/statuses/45be2a49a2fe52532c5fb7c8439915acc23cd029"}}}}