{"action":"created","comment":{"url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls/comments/74212946","id":74212946,"diff_hunk":"@@ -11,7 +11,21 @@ Result? Consistent code across various projects, quality codebase and happiness\n ## Libraries\n Set of Libraries we use during development\n ### Networking\n+\n+### Mapping\n+\n+For mapping JSON objects we use [Argo](https://github.com/thoughtbot/Argo) with reactive extensions we created. It really simplifies asynchronous mapping.\n+\n+To make our work even simpler we use Argo in combination with [Curry](https://github.com/thoughtbot/Curry). Examples of usage can be found at [Argo github](https://github.com/thoughtbot/Argo).\n+\n ### CoreData\n+\n+To work with CoreData we always use [MagicalRecord](https://github.com/magicalpanda/MagicalRecord) framework which rapidly simplifies work with CoreData stack.\n+\n+Some of our projects use `NSManagedObject` subclasses to work with database items. Subclasses are generated using [mogenerator](https://github.com/rentzsch/mogenerator). Mapping of those objects is handled by [MagicalRecord](https://github.com/magicalpanda/MagicalRecord) itself _(prefered)_ - some projects use [Groot](https://github.com/gonzalezreal/Groot), but we consider those options to be almost equal.\n+\n+Our new projects use Swift structs and manipulation with them is realised using [CoreValue](https://github.com/terhechte/CoreValue) with some small improvements we made ourselves. Mapping to those structs is handled by [Argo](https://github.com/thoughtbot/Argo).","path":"Ingredients.md","position":17,"original_position":17,"commit_id":"3ac6216c24b4798c58a684129c8b988d64fe21a6","original_commit_id":"3ac6216c24b4798c58a684129c8b988d64fe21a6","user":{"login":"olejnjak","id":3148214,"avatar_url":"https://avatars.githubusercontent.com/u/3148214?v=3","gravatar_id":"","url":"https://api.github.com/users/olejnjak","html_url":"https://github.com/olejnjak","followers_url":"https://api.github.com/users/olejnjak/followers","following_url":"https://api.github.com/users/olejnjak/following{/other_user}","gists_url":"https://api.github.com/users/olejnjak/gists{/gist_id}","starred_url":"https://api.github.com/users/olejnjak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olejnjak/subscriptions","organizations_url":"https://api.github.com/users/olejnjak/orgs","repos_url":"https://api.github.com/users/olejnjak/repos","events_url":"https://api.github.com/users/olejnjak/events{/privacy}","received_events_url":"https://api.github.com/users/olejnjak/received_events","type":"User","site_admin":false},"body":"Good point","created_at":"2016-08-10T09:28:39Z","updated_at":"2016-08-10T09:28:39Z","html_url":"https://github.com/AckeeCZ/ios-cookbook/pull/7#discussion_r74212946","pull_request_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls/comments/74212946"},"html":{"href":"https://github.com/AckeeCZ/ios-cookbook/pull/7#discussion_r74212946"},"pull_request":{"href":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls/7","id":80761355,"html_url":"https://github.com/AckeeCZ/ios-cookbook/pull/7","diff_url":"https://github.com/AckeeCZ/ios-cookbook/pull/7.diff","patch_url":"https://github.com/AckeeCZ/ios-cookbook/pull/7.patch","issue_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/issues/7","number":7,"state":"open","locked":false,"title":"Added info about mapping and CoreData","user":{"login":"olejnjak","id":3148214,"avatar_url":"https://avatars.githubusercontent.com/u/3148214?v=3","gravatar_id":"","url":"https://api.github.com/users/olejnjak","html_url":"https://github.com/olejnjak","followers_url":"https://api.github.com/users/olejnjak/followers","following_url":"https://api.github.com/users/olejnjak/following{/other_user}","gists_url":"https://api.github.com/users/olejnjak/gists{/gist_id}","starred_url":"https://api.github.com/users/olejnjak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olejnjak/subscriptions","organizations_url":"https://api.github.com/users/olejnjak/orgs","repos_url":"https://api.github.com/users/olejnjak/repos","events_url":"https://api.github.com/users/olejnjak/events{/privacy}","received_events_url":"https://api.github.com/users/olejnjak/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-10T09:25:00Z","updated_at":"2016-08-10T09:28:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7ecfc181f396983a372005eafd64608965dc8519","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls/7/commits","review_comments_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls/7/comments","review_comment_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/issues/7/comments","statuses_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/statuses/3ac6216c24b4798c58a684129c8b988d64fe21a6","head":{"label":"olejnjak:patch-1","ref":"patch-1","sha":"3ac6216c24b4798c58a684129c8b988d64fe21a6","user":{"login":"olejnjak","id":3148214,"avatar_url":"https://avatars.githubusercontent.com/u/3148214?v=3","gravatar_id":"","url":"https://api.github.com/users/olejnjak","html_url":"https://github.com/olejnjak","followers_url":"https://api.github.com/users/olejnjak/followers","following_url":"https://api.github.com/users/olejnjak/following{/other_user}","gists_url":"https://api.github.com/users/olejnjak/gists{/gist_id}","starred_url":"https://api.github.com/users/olejnjak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olejnjak/subscriptions","organizations_url":"https://api.github.com/users/olejnjak/orgs","repos_url":"https://api.github.com/users/olejnjak/repos","events_url":"https://api.github.com/users/olejnjak/events{/privacy}","received_events_url":"https://api.github.com/users/olejnjak/received_events","type":"User","site_admin":false},"repo":{"id":65366628,"name":"ios-cookbook","full_name":"olejnjak/ios-cookbook","owner":{"login":"olejnjak","id":3148214,"avatar_url":"https://avatars.githubusercontent.com/u/3148214?v=3","gravatar_id":"","url":"https://api.github.com/users/olejnjak","html_url":"https://github.com/olejnjak","followers_url":"https://api.github.com/users/olejnjak/followers","following_url":"https://api.github.com/users/olejnjak/following{/other_user}","gists_url":"https://api.github.com/users/olejnjak/gists{/gist_id}","starred_url":"https://api.github.com/users/olejnjak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olejnjak/subscriptions","organizations_url":"https://api.github.com/users/olejnjak/orgs","repos_url":"https://api.github.com/users/olejnjak/repos","events_url":"https://api.github.com/users/olejnjak/events{/privacy}","received_events_url":"https://api.github.com/users/olejnjak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olejnjak/ios-cookbook","description":"Ackee iOS Cookbook for Swift Applications","fork":true,"url":"https://api.github.com/repos/olejnjak/ios-cookbook","forks_url":"https://api.github.com/repos/olejnjak/ios-cookbook/forks","keys_url":"https://api.github.com/repos/olejnjak/ios-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olejnjak/ios-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olejnjak/ios-cookbook/teams","hooks_url":"https://api.github.com/repos/olejnjak/ios-cookbook/hooks","issue_events_url":"https://api.github.com/repos/olejnjak/ios-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/olejnjak/ios-cookbook/events","assignees_url":"https://api.github.com/repos/olejnjak/ios-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/olejnjak/ios-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/olejnjak/ios-cookbook/tags","blobs_url":"https://api.github.com/repos/olejnjak/ios-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olejnjak/ios-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olejnjak/ios-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/olejnjak/ios-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olejnjak/ios-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/olejnjak/ios-cookbook/languages","stargazers_url":"https://api.github.com/repos/olejnjak/ios-cookbook/stargazers","contributors_url":"https://api.github.com/repos/olejnjak/ios-cookbook/contributors","subscribers_url":"https://api.github.com/repos/olejnjak/ios-cookbook/subscribers","subscription_url":"https://api.github.com/repos/olejnjak/ios-cookbook/subscription","commits_url":"https://api.github.com/repos/olejnjak/ios-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/olejnjak/ios-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/olejnjak/ios-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/olejnjak/ios-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/olejnjak/ios-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/olejnjak/ios-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olejnjak/ios-cookbook/merges","archive_url":"https://api.github.com/repos/olejnjak/ios-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olejnjak/ios-cookbook/downloads","issues_url":"https://api.github.com/repos/olejnjak/ios-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/olejnjak/ios-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/olejnjak/ios-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/olejnjak/ios-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olejnjak/ios-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/olejnjak/ios-cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/olejnjak/ios-cookbook/deployments","created_at":"2016-08-10T08:54:15Z","updated_at":"2016-08-08T07:20:30Z","pushed_at":"2016-08-10T09:24:48Z","git_url":"git://github.com/olejnjak/ios-cookbook.git","ssh_url":"git@github.com:olejnjak/ios-cookbook.git","clone_url":"https://github.com/olejnjak/ios-cookbook.git","svn_url":"https://github.com/olejnjak/ios-cookbook","homepage":null,"size":39,"stargazers_count":0,"watchers_count":0,"language":null,"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":"AckeeCZ:master","ref":"master","sha":"8b76f7d4762f22e9752caba32e0aa7ad5c4e4b60","user":{"login":"AckeeCZ","id":1728223,"avatar_url":"https://avatars.githubusercontent.com/u/1728223?v=3","gravatar_id":"","url":"https://api.github.com/users/AckeeCZ","html_url":"https://github.com/AckeeCZ","followers_url":"https://api.github.com/users/AckeeCZ/followers","following_url":"https://api.github.com/users/AckeeCZ/following{/other_user}","gists_url":"https://api.github.com/users/AckeeCZ/gists{/gist_id}","starred_url":"https://api.github.com/users/AckeeCZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AckeeCZ/subscriptions","organizations_url":"https://api.github.com/users/AckeeCZ/orgs","repos_url":"https://api.github.com/users/AckeeCZ/repos","events_url":"https://api.github.com/users/AckeeCZ/events{/privacy}","received_events_url":"https://api.github.com/users/AckeeCZ/received_events","type":"Organization","site_admin":false},"repo":{"id":65011531,"name":"ios-cookbook","full_name":"AckeeCZ/ios-cookbook","owner":{"login":"AckeeCZ","id":1728223,"avatar_url":"https://avatars.githubusercontent.com/u/1728223?v=3","gravatar_id":"","url":"https://api.github.com/users/AckeeCZ","html_url":"https://github.com/AckeeCZ","followers_url":"https://api.github.com/users/AckeeCZ/followers","following_url":"https://api.github.com/users/AckeeCZ/following{/other_user}","gists_url":"https://api.github.com/users/AckeeCZ/gists{/gist_id}","starred_url":"https://api.github.com/users/AckeeCZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AckeeCZ/subscriptions","organizations_url":"https://api.github.com/users/AckeeCZ/orgs","repos_url":"https://api.github.com/users/AckeeCZ/repos","events_url":"https://api.github.com/users/AckeeCZ/events{/privacy}","received_events_url":"https://api.github.com/users/AckeeCZ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AckeeCZ/ios-cookbook","description":"Ackee iOS Cookbook for Swift Applications","fork":false,"url":"https://api.github.com/repos/AckeeCZ/ios-cookbook","forks_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/forks","keys_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/teams","hooks_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/hooks","issue_events_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/events","assignees_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/tags","blobs_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/languages","stargazers_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/stargazers","contributors_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/contributors","subscribers_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/subscribers","subscription_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/subscription","commits_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/merges","archive_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/downloads","issues_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/AckeeCZ/ios-cookbook/deployments","created_at":"2016-08-05T10:47:23Z","updated_at":"2016-08-08T07:20:30Z","pushed_at":"2016-08-10T09:25:00Z","git_url":"git://github.com/AckeeCZ/ios-cookbook.git","ssh_url":"git@github.com:AckeeCZ/ios-cookbook.git","clone_url":"https://github.com/AckeeCZ/ios-cookbook.git","svn_url":"https://github.com/AckeeCZ/ios-cookbook","homepage":null,"size":39,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls/7"},"html":{"href":"https://github.com/AckeeCZ/ios-cookbook/pull/7"},"issue":{"href":"https://api.github.com/repos/AckeeCZ/ios-cookbook/issues/7"},"comments":{"href":"https://api.github.com/repos/AckeeCZ/ios-cookbook/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AckeeCZ/ios-cookbook/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/AckeeCZ/ios-cookbook/statuses/3ac6216c24b4798c58a684129c8b988d64fe21a6"}}}}
{"actor":{"display_login":"olejnjak"}}