{"action":"created","comment":{"url":"https://api.github.com/repos/artsy/artsy.github.io/pulls/comments/37764379","id":37764379,"diff_hunk":"@@ -0,0 +1,68 @@\n+---\n+layout: post\n+title: 'Cocoa Architecture: Hybrid Apps'\n+date: 2015-08-24T00:00:00.000Z\n+comments: false\n+categories:\n+  - ios\n+  - mobile\n+  - architecture\n+  - eigen\n+  - hybrid\n+author: Orta Therox\n+github-url: 'https://www.github.com/orta'\n+twitter-url: 'http://twitter.com/orta'\n+blog-url: 'http://orta.io'\n+---\n+\n+As a part of going through the design patterns we've found in the creation of the Artsy iOS apps, I'd like to talk a bit about Hybrid Applications. A hybrid application refers to an app that uses native code and web content intertwined. Our flagship iOS app, [eigen](https://github.com/artsy/eigen) is a hybrid app, and it seems to get more and more hybrid-y each release. Let's talk a little bit about the pros and cons of this. <!-- more -->","path":"_posts/2015-08-24-Cocoa-Architecture:-Hybrid-Apps.markdown","position":18,"original_position":18,"commit_id":"37e96c856a78929e55d443110cf45b0ecaaba524","original_commit_id":"37e96c856a78929e55d443110cf45b0ecaaba524","user":{"login":"ashfurrow","id":498212,"avatar_url":"https://avatars.githubusercontent.com/u/498212?v=3","gravatar_id":"","url":"https://api.github.com/users/ashfurrow","html_url":"https://github.com/ashfurrow","followers_url":"https://api.github.com/users/ashfurrow/followers","following_url":"https://api.github.com/users/ashfurrow/following{/other_user}","gists_url":"https://api.github.com/users/ashfurrow/gists{/gist_id}","starred_url":"https://api.github.com/users/ashfurrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashfurrow/subscriptions","organizations_url":"https://api.github.com/users/ashfurrow/orgs","repos_url":"https://api.github.com/users/ashfurrow/repos","events_url":"https://api.github.com/users/ashfurrow/events{/privacy}","received_events_url":"https://api.github.com/users/ashfurrow/received_events","type":"User","site_admin":false},"body":"\"Hybrid Applications\" is fine as a proper noun, but other uses of it should have the same capitalization. Maybe use `_Hybrid Applications_` instead? \r\n\r\n\"hybrid-y\" is _awesome_. \r\n\r\n\"the pros and cons of this\" -> \"the pros and cons of this approach.\"","created_at":"2015-08-24T15:32:34Z","updated_at":"2015-08-24T15:32:34Z","html_url":"https://github.com/artsy/artsy.github.io/pull/141#discussion_r37764379","pull_request_url":"https://api.github.com/repos/artsy/artsy.github.io/pulls/141","_links":{"self":{"href":"https://api.github.com/repos/artsy/artsy.github.io/pulls/comments/37764379"},"html":{"href":"https://github.com/artsy/artsy.github.io/pull/141#discussion_r37764379"},"pull_request":{"href":"https://api.github.com/repos/artsy/artsy.github.io/pulls/141"}}},"pull_request":{"url":"https://api.github.com/repos/artsy/artsy.github.io/pulls/141","id":43115110,"html_url":"https://github.com/artsy/artsy.github.io/pull/141","diff_url":"https://github.com/artsy/artsy.github.io/pull/141.diff","patch_url":"https://github.com/artsy/artsy.github.io/pull/141.patch","issue_url":"https://api.github.com/repos/artsy/artsy.github.io/issues/141","number":141,"state":"open","locked":false,"title":"@ashfurrow => Architecture: Hybrid Apps","user":{"login":"orta","id":49038,"avatar_url":"https://avatars.githubusercontent.com/u/49038?v=3","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"body":"+ @alloy \r\n\r\nThings I've debated, and am open to adding\r\n\r\n- Talking about the difficulties in keeping issues active/up to date between projects\r\n- Keeping on top of routes\r\n- Changes the sites have to do for Eigen","created_at":"2015-08-23T04:02:55Z","updated_at":"2015-08-24T15:32:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23c0a5b5040bac4343bb4bbf9dd4bdf9b3d6fc3f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/artsy/artsy.github.io/pulls/141/commits","review_comments_url":"https://api.github.com/repos/artsy/artsy.github.io/pulls/141/comments","review_comment_url":"https://api.github.com/repos/artsy/artsy.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/artsy/artsy.github.io/issues/141/comments","statuses_url":"https://api.github.com/repos/artsy/artsy.github.io/statuses/37e96c856a78929e55d443110cf45b0ecaaba524","head":{"label":"artsy:hybrid","ref":"hybrid","sha":"37e96c856a78929e55d443110cf45b0ecaaba524","user":{"login":"artsy","id":546231,"avatar_url":"https://avatars.githubusercontent.com/u/546231?v=3","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"repo":{"id":3114581,"name":"artsy.github.io","full_name":"artsy/artsy.github.io","owner":{"login":"artsy","id":546231,"avatar_url":"https://avatars.githubusercontent.com/u/546231?v=3","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artsy/artsy.github.io","description":"The Artsy Engineering Open-Source Developers Blog","fork":false,"url":"https://api.github.com/repos/artsy/artsy.github.io","forks_url":"https://api.github.com/repos/artsy/artsy.github.io/forks","keys_url":"https://api.github.com/repos/artsy/artsy.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artsy/artsy.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artsy/artsy.github.io/teams","hooks_url":"https://api.github.com/repos/artsy/artsy.github.io/hooks","issue_events_url":"https://api.github.com/repos/artsy/artsy.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/artsy/artsy.github.io/events","assignees_url":"https://api.github.com/repos/artsy/artsy.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/artsy/artsy.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/artsy/artsy.github.io/tags","blobs_url":"https://api.github.com/repos/artsy/artsy.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artsy/artsy.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artsy/artsy.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/artsy/artsy.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artsy/artsy.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/artsy/artsy.github.io/languages","stargazers_url":"https://api.github.com/repos/artsy/artsy.github.io/stargazers","contributors_url":"https://api.github.com/repos/artsy/artsy.github.io/contributors","subscribers_url":"https://api.github.com/repos/artsy/artsy.github.io/subscribers","subscription_url":"https://api.github.com/repos/artsy/artsy.github.io/subscription","commits_url":"https://api.github.com/repos/artsy/artsy.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/artsy/artsy.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/artsy/artsy.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/artsy/artsy.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/artsy/artsy.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/artsy/artsy.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artsy/artsy.github.io/merges","archive_url":"https://api.github.com/repos/artsy/artsy.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artsy/artsy.github.io/downloads","issues_url":"https://api.github.com/repos/artsy/artsy.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/artsy/artsy.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/artsy/artsy.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/artsy/artsy.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artsy/artsy.github.io/labels{/name}","releases_url":"https://api.github.com/repos/artsy/artsy.github.io/releases{/id}","created_at":"2012-01-06T00:31:22Z","updated_at":"2015-08-17T15:03:14Z","pushed_at":"2015-08-23T04:02:56Z","git_url":"git://github.com/artsy/artsy.github.io.git","ssh_url":"git@github.com:artsy/artsy.github.io.git","clone_url":"https://github.com/artsy/artsy.github.io.git","svn_url":"https://github.com/artsy/artsy.github.io","homepage":"http://artsy.github.io","size":41483,"stargazers_count":72,"watchers_count":72,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":47,"mirror_url":null,"open_issues_count":23,"forks":47,"open_issues":23,"watchers":72,"default_branch":"source"}},"base":{"label":"artsy:source","ref":"source","sha":"0c1cd136f635062b4815dea9f2a729958d1596f0","user":{"login":"artsy","id":546231,"avatar_url":"https://avatars.githubusercontent.com/u/546231?v=3","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"repo":{"id":3114581,"name":"artsy.github.io","full_name":"artsy/artsy.github.io","owner":{"login":"artsy","id":546231,"avatar_url":"https://avatars.githubusercontent.com/u/546231?v=3","gravatar_id":"","url":"https://api.github.com/users/artsy","html_url":"https://github.com/artsy","followers_url":"https://api.github.com/users/artsy/followers","following_url":"https://api.github.com/users/artsy/following{/other_user}","gists_url":"https://api.github.com/users/artsy/gists{/gist_id}","starred_url":"https://api.github.com/users/artsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artsy/subscriptions","organizations_url":"https://api.github.com/users/artsy/orgs","repos_url":"https://api.github.com/users/artsy/repos","events_url":"https://api.github.com/users/artsy/events{/privacy}","received_events_url":"https://api.github.com/users/artsy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/artsy/artsy.github.io","description":"The Artsy Engineering Open-Source Developers Blog","fork":false,"url":"https://api.github.com/repos/artsy/artsy.github.io","forks_url":"https://api.github.com/repos/artsy/artsy.github.io/forks","keys_url":"https://api.github.com/repos/artsy/artsy.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/artsy/artsy.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/artsy/artsy.github.io/teams","hooks_url":"https://api.github.com/repos/artsy/artsy.github.io/hooks","issue_events_url":"https://api.github.com/repos/artsy/artsy.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/artsy/artsy.github.io/events","assignees_url":"https://api.github.com/repos/artsy/artsy.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/artsy/artsy.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/artsy/artsy.github.io/tags","blobs_url":"https://api.github.com/repos/artsy/artsy.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/artsy/artsy.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/artsy/artsy.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/artsy/artsy.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/artsy/artsy.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/artsy/artsy.github.io/languages","stargazers_url":"https://api.github.com/repos/artsy/artsy.github.io/stargazers","contributors_url":"https://api.github.com/repos/artsy/artsy.github.io/contributors","subscribers_url":"https://api.github.com/repos/artsy/artsy.github.io/subscribers","subscription_url":"https://api.github.com/repos/artsy/artsy.github.io/subscription","commits_url":"https://api.github.com/repos/artsy/artsy.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/artsy/artsy.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/artsy/artsy.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/artsy/artsy.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/artsy/artsy.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/artsy/artsy.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/artsy/artsy.github.io/merges","archive_url":"https://api.github.com/repos/artsy/artsy.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/artsy/artsy.github.io/downloads","issues_url":"https://api.github.com/repos/artsy/artsy.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/artsy/artsy.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/artsy/artsy.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/artsy/artsy.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/artsy/artsy.github.io/labels{/name}","releases_url":"https://api.github.com/repos/artsy/artsy.github.io/releases{/id}","created_at":"2012-01-06T00:31:22Z","updated_at":"2015-08-17T15:03:14Z","pushed_at":"2015-08-23T04:02:56Z","git_url":"git://github.com/artsy/artsy.github.io.git","ssh_url":"git@github.com:artsy/artsy.github.io.git","clone_url":"https://github.com/artsy/artsy.github.io.git","svn_url":"https://github.com/artsy/artsy.github.io","homepage":"http://artsy.github.io","size":41483,"stargazers_count":72,"watchers_count":72,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":47,"mirror_url":null,"open_issues_count":23,"forks":47,"open_issues":23,"watchers":72,"default_branch":"source"}},"_links":{"self":{"href":"https://api.github.com/repos/artsy/artsy.github.io/pulls/141"},"html":{"href":"https://github.com/artsy/artsy.github.io/pull/141"},"issue":{"href":"https://api.github.com/repos/artsy/artsy.github.io/issues/141"},"comments":{"href":"https://api.github.com/repos/artsy/artsy.github.io/issues/141/comments"},"review_comments":{"href":"https://api.github.com/repos/artsy/artsy.github.io/pulls/141/comments"},"review_comment":{"href":"https://api.github.com/repos/artsy/artsy.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/artsy/artsy.github.io/pulls/141/commits"},"statuses":{"href":"https://api.github.com/repos/artsy/artsy.github.io/statuses/37e96c856a78929e55d443110cf45b0ecaaba524"}}}}