{"action":"created","comment":{"url":"https://api.github.com/repos/vokal/Vokoder/pulls/comments/45002363","id":45002363,"diff_hunk":"@@ -0,0 +1,71 @@\n+//\n+//  Station.swift\n+//  \n+//\n+//  Created by Carl Hill-Popper on 11/13/15.\n+//  Copyright © 2015 Vokal.\n+//\n+\n+import Foundation\n+import CoreData\n+import CoreLocation\n+import Vokoder\n+\n+//lets pretend we're using mogenerator to create attribute constants\n+enum StationAttributes: String {\n+    case name\n+    case longitude\n+    case locationString\n+    case latitude\n+    case identifier\n+    case descriptiveName\n+    case accessible\n+}\n+\n+@objc(Station)","path":"SwiftSampleProject/SwiftyVokoder/Models/Station.swift","position":25,"original_position":25,"commit_id":"5ae3b69073952e93d177928c8967fdbc6a8ebc6d","original_commit_id":"5ae3b69073952e93d177928c8967fdbc6a8ebc6d","user":{"login":"designatednerd","id":1976498,"avatar_url":"https://avatars.githubusercontent.com/u/1976498?v=3","gravatar_id":"","url":"https://api.github.com/users/designatednerd","html_url":"https://github.com/designatednerd","followers_url":"https://api.github.com/users/designatednerd/followers","following_url":"https://api.github.com/users/designatednerd/following{/other_user}","gists_url":"https://api.github.com/users/designatednerd/gists{/gist_id}","starred_url":"https://api.github.com/users/designatednerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/designatednerd/subscriptions","organizations_url":"https://api.github.com/users/designatednerd/orgs","repos_url":"https://api.github.com/users/designatednerd/repos","events_url":"https://api.github.com/users/designatednerd/events{/privacy}","received_events_url":"https://api.github.com/users/designatednerd/received_events","type":"User","site_admin":false},"body":"One thing to note about this for the README: If you use `Category`, it doesn't work at all in Objc becuase it thinks it's redefining something. :sad-trombone:","created_at":"2015-11-16T23:40:05Z","updated_at":"2015-11-16T23:40:05Z","html_url":"https://github.com/vokal/Vokoder/pull/63#discussion_r45002363","pull_request_url":"https://api.github.com/repos/vokal/Vokoder/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/vokal/Vokoder/pulls/comments/45002363"},"html":{"href":"https://github.com/vokal/Vokoder/pull/63#discussion_r45002363"},"pull_request":{"href":"https://api.github.com/repos/vokal/Vokoder/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/vokal/Vokoder/pulls/63","id":50760727,"html_url":"https://github.com/vokal/Vokoder/pull/63","diff_url":"https://github.com/vokal/Vokoder/pull/63.diff","patch_url":"https://github.com/vokal/Vokoder/pull/63.patch","issue_url":"https://api.github.com/repos/vokal/Vokoder/issues/63","number":63,"state":"open","locked":false,"title":"CTA train, station, and stop models and maps","user":{"login":"chillpop","id":49619,"avatar_url":"https://avatars.githubusercontent.com/u/49619?v=3","gravatar_id":"","url":"https://api.github.com/users/chillpop","html_url":"https://github.com/chillpop","followers_url":"https://api.github.com/users/chillpop/followers","following_url":"https://api.github.com/users/chillpop/following{/other_user}","gists_url":"https://api.github.com/users/chillpop/gists{/gist_id}","starred_url":"https://api.github.com/users/chillpop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chillpop/subscriptions","organizations_url":"https://api.github.com/users/chillpop/orgs","repos_url":"https://api.github.com/users/chillpop/repos","events_url":"https://api.github.com/users/chillpop/events{/privacy}","received_events_url":"https://api.github.com/users/chillpop/received_events","type":"User","site_admin":false},"body":"I chose Chicago CTA train stop data as the example data model.  This adds model definitions, mapping, and minimal unit tests to support that.\r\n\r\nThe complete [dataset](https://data.cityofchicago.org/Transportation/CTA-System-Information-List-of-L-Stops/8pix-ypme) is ~5700 lines of JSON. I left it out of this PR and will add it later.","created_at":"2015-11-15T23:59:36Z","updated_at":"2015-11-16T23:40:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb97f0e1c58140c618a00ec216905cb72e8e1cd0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vokal/Vokoder/pulls/63/commits","review_comments_url":"https://api.github.com/repos/vokal/Vokoder/pulls/63/comments","review_comment_url":"https://api.github.com/repos/vokal/Vokoder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vokal/Vokoder/issues/63/comments","statuses_url":"https://api.github.com/repos/vokal/Vokoder/statuses/5ae3b69073952e93d177928c8967fdbc6a8ebc6d","head":{"label":"chillpop:feature/swift-example","ref":"feature/swift-example","sha":"5ae3b69073952e93d177928c8967fdbc6a8ebc6d","user":{"login":"chillpop","id":49619,"avatar_url":"https://avatars.githubusercontent.com/u/49619?v=3","gravatar_id":"","url":"https://api.github.com/users/chillpop","html_url":"https://github.com/chillpop","followers_url":"https://api.github.com/users/chillpop/followers","following_url":"https://api.github.com/users/chillpop/following{/other_user}","gists_url":"https://api.github.com/users/chillpop/gists{/gist_id}","starred_url":"https://api.github.com/users/chillpop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chillpop/subscriptions","organizations_url":"https://api.github.com/users/chillpop/orgs","repos_url":"https://api.github.com/users/chillpop/repos","events_url":"https://api.github.com/users/chillpop/events{/privacy}","received_events_url":"https://api.github.com/users/chillpop/received_events","type":"User","site_admin":false},"repo":{"id":24679900,"name":"Vokoder","full_name":"chillpop/Vokoder","owner":{"login":"chillpop","id":49619,"avatar_url":"https://avatars.githubusercontent.com/u/49619?v=3","gravatar_id":"","url":"https://api.github.com/users/chillpop","html_url":"https://github.com/chillpop","followers_url":"https://api.github.com/users/chillpop/followers","following_url":"https://api.github.com/users/chillpop/following{/other_user}","gists_url":"https://api.github.com/users/chillpop/gists{/gist_id}","starred_url":"https://api.github.com/users/chillpop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chillpop/subscriptions","organizations_url":"https://api.github.com/users/chillpop/orgs","repos_url":"https://api.github.com/users/chillpop/repos","events_url":"https://api.github.com/users/chillpop/events{/privacy}","received_events_url":"https://api.github.com/users/chillpop/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chillpop/Vokoder","description":"A lightweight core data stack with efficient importing and exporting on the side.","fork":true,"url":"https://api.github.com/repos/chillpop/Vokoder","forks_url":"https://api.github.com/repos/chillpop/Vokoder/forks","keys_url":"https://api.github.com/repos/chillpop/Vokoder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chillpop/Vokoder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chillpop/Vokoder/teams","hooks_url":"https://api.github.com/repos/chillpop/Vokoder/hooks","issue_events_url":"https://api.github.com/repos/chillpop/Vokoder/issues/events{/number}","events_url":"https://api.github.com/repos/chillpop/Vokoder/events","assignees_url":"https://api.github.com/repos/chillpop/Vokoder/assignees{/user}","branches_url":"https://api.github.com/repos/chillpop/Vokoder/branches{/branch}","tags_url":"https://api.github.com/repos/chillpop/Vokoder/tags","blobs_url":"https://api.github.com/repos/chillpop/Vokoder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chillpop/Vokoder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chillpop/Vokoder/git/refs{/sha}","trees_url":"https://api.github.com/repos/chillpop/Vokoder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chillpop/Vokoder/statuses/{sha}","languages_url":"https://api.github.com/repos/chillpop/Vokoder/languages","stargazers_url":"https://api.github.com/repos/chillpop/Vokoder/stargazers","contributors_url":"https://api.github.com/repos/chillpop/Vokoder/contributors","subscribers_url":"https://api.github.com/repos/chillpop/Vokoder/subscribers","subscription_url":"https://api.github.com/repos/chillpop/Vokoder/subscription","commits_url":"https://api.github.com/repos/chillpop/Vokoder/commits{/sha}","git_commits_url":"https://api.github.com/repos/chillpop/Vokoder/git/commits{/sha}","comments_url":"https://api.github.com/repos/chillpop/Vokoder/comments{/number}","issue_comment_url":"https://api.github.com/repos/chillpop/Vokoder/issues/comments{/number}","contents_url":"https://api.github.com/repos/chillpop/Vokoder/contents/{+path}","compare_url":"https://api.github.com/repos/chillpop/Vokoder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chillpop/Vokoder/merges","archive_url":"https://api.github.com/repos/chillpop/Vokoder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chillpop/Vokoder/downloads","issues_url":"https://api.github.com/repos/chillpop/Vokoder/issues{/number}","pulls_url":"https://api.github.com/repos/chillpop/Vokoder/pulls{/number}","milestones_url":"https://api.github.com/repos/chillpop/Vokoder/milestones{/number}","notifications_url":"https://api.github.com/repos/chillpop/Vokoder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chillpop/Vokoder/labels{/name}","releases_url":"https://api.github.com/repos/chillpop/Vokoder/releases{/id}","created_at":"2014-10-01T13:42:26Z","updated_at":"2014-11-24T19:54:14Z","pushed_at":"2015-11-16T15:35:22Z","git_url":"git://github.com/chillpop/Vokoder.git","ssh_url":"git@github.com:chillpop/Vokoder.git","clone_url":"https://github.com/chillpop/Vokoder.git","svn_url":"https://github.com/chillpop/Vokoder","homepage":null,"size":667,"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":"vokal:master","ref":"master","sha":"03b60aa6f7376492722b3f82b2eb6a05a9b0c86c","user":{"login":"vokal","id":375026,"avatar_url":"https://avatars.githubusercontent.com/u/375026?v=3","gravatar_id":"","url":"https://api.github.com/users/vokal","html_url":"https://github.com/vokal","followers_url":"https://api.github.com/users/vokal/followers","following_url":"https://api.github.com/users/vokal/following{/other_user}","gists_url":"https://api.github.com/users/vokal/gists{/gist_id}","starred_url":"https://api.github.com/users/vokal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vokal/subscriptions","organizations_url":"https://api.github.com/users/vokal/orgs","repos_url":"https://api.github.com/users/vokal/repos","events_url":"https://api.github.com/users/vokal/events{/privacy}","received_events_url":"https://api.github.com/users/vokal/received_events","type":"Organization","site_admin":false},"repo":{"id":18085129,"name":"Vokoder","full_name":"vokal/Vokoder","owner":{"login":"vokal","id":375026,"avatar_url":"https://avatars.githubusercontent.com/u/375026?v=3","gravatar_id":"","url":"https://api.github.com/users/vokal","html_url":"https://github.com/vokal","followers_url":"https://api.github.com/users/vokal/followers","following_url":"https://api.github.com/users/vokal/following{/other_user}","gists_url":"https://api.github.com/users/vokal/gists{/gist_id}","starred_url":"https://api.github.com/users/vokal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vokal/subscriptions","organizations_url":"https://api.github.com/users/vokal/orgs","repos_url":"https://api.github.com/users/vokal/repos","events_url":"https://api.github.com/users/vokal/events{/privacy}","received_events_url":"https://api.github.com/users/vokal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vokal/Vokoder","description":"A lightweight core data stack with efficient importing and exporting on the side.","fork":false,"url":"https://api.github.com/repos/vokal/Vokoder","forks_url":"https://api.github.com/repos/vokal/Vokoder/forks","keys_url":"https://api.github.com/repos/vokal/Vokoder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vokal/Vokoder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vokal/Vokoder/teams","hooks_url":"https://api.github.com/repos/vokal/Vokoder/hooks","issue_events_url":"https://api.github.com/repos/vokal/Vokoder/issues/events{/number}","events_url":"https://api.github.com/repos/vokal/Vokoder/events","assignees_url":"https://api.github.com/repos/vokal/Vokoder/assignees{/user}","branches_url":"https://api.github.com/repos/vokal/Vokoder/branches{/branch}","tags_url":"https://api.github.com/repos/vokal/Vokoder/tags","blobs_url":"https://api.github.com/repos/vokal/Vokoder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vokal/Vokoder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vokal/Vokoder/git/refs{/sha}","trees_url":"https://api.github.com/repos/vokal/Vokoder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vokal/Vokoder/statuses/{sha}","languages_url":"https://api.github.com/repos/vokal/Vokoder/languages","stargazers_url":"https://api.github.com/repos/vokal/Vokoder/stargazers","contributors_url":"https://api.github.com/repos/vokal/Vokoder/contributors","subscribers_url":"https://api.github.com/repos/vokal/Vokoder/subscribers","subscription_url":"https://api.github.com/repos/vokal/Vokoder/subscription","commits_url":"https://api.github.com/repos/vokal/Vokoder/commits{/sha}","git_commits_url":"https://api.github.com/repos/vokal/Vokoder/git/commits{/sha}","comments_url":"https://api.github.com/repos/vokal/Vokoder/comments{/number}","issue_comment_url":"https://api.github.com/repos/vokal/Vokoder/issues/comments{/number}","contents_url":"https://api.github.com/repos/vokal/Vokoder/contents/{+path}","compare_url":"https://api.github.com/repos/vokal/Vokoder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vokal/Vokoder/merges","archive_url":"https://api.github.com/repos/vokal/Vokoder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vokal/Vokoder/downloads","issues_url":"https://api.github.com/repos/vokal/Vokoder/issues{/number}","pulls_url":"https://api.github.com/repos/vokal/Vokoder/pulls{/number}","milestones_url":"https://api.github.com/repos/vokal/Vokoder/milestones{/number}","notifications_url":"https://api.github.com/repos/vokal/Vokoder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vokal/Vokoder/labels{/name}","releases_url":"https://api.github.com/repos/vokal/Vokoder/releases{/id}","created_at":"2014-03-25T01:33:59Z","updated_at":"2015-05-11T21:11:54Z","pushed_at":"2015-11-16T15:35:23Z","git_url":"git://github.com/vokal/Vokoder.git","ssh_url":"git@github.com:vokal/Vokoder.git","clone_url":"https://github.com/vokal/Vokoder.git","svn_url":"https://github.com/vokal/Vokoder","homepage":null,"size":1097,"stargazers_count":5,"watchers_count":5,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":4,"forks":10,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vokal/Vokoder/pulls/63"},"html":{"href":"https://github.com/vokal/Vokoder/pull/63"},"issue":{"href":"https://api.github.com/repos/vokal/Vokoder/issues/63"},"comments":{"href":"https://api.github.com/repos/vokal/Vokoder/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/vokal/Vokoder/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/vokal/Vokoder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vokal/Vokoder/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/vokal/Vokoder/statuses/5ae3b69073952e93d177928c8967fdbc6a8ebc6d"}}}}