{"action":"created","comment":{"url":"https://api.github.com/repos/xitu/gold-miner/pulls/comments/72925198","id":72925198,"diff_hunk":"@@ -1,81 +1,95 @@\n >* 原文链接 : [MVVM with Flow Controller-First Step](https://medium.com/@digoreis/mvvm-with-flow-controller-first-step-83e60ade0018)\n * 原文作者 : [Rodrigo Reis]()\n * 译文出自 : [掘金翻译计划](https://github.com/xitu/gold-miner)\n-* 译者 : \n+* 译者 : [shixinzhang](https://github.com/shixinzhang)\n * 校对者:\n \n \n-> I was watching video of Krzysztof Zabłocki on the concept of MVVM and thought there is only one way to understand something: Create my project!\n+> 我看了好久 Krzysztof Zablocki 关于 MVVM 的视频，最后发现理解新东西只有一种方法：动手建个项目！\n \n-After much reading about apps architectures, the last 6 months I have been work on a model with MVVM protocols. To understand the origin of this have to quote an article of [**Natasha The Robot**](https://www.natashatherobot.com/swift-2-0-protocol-oriented-mvvm/) and all knowledge about programming oriented protocols. If you do not idea what I’m talking about a good idea is to read [**Natasha The Robot**](https://www.natashatherobot.com/).\n+在阅读许多关于软件架构的知识后，我最近6个月一直在学习 MVVM 协议模型。为了理解这个协议需要引用\n+[**Natasha The Robot**](https://www.natashatherobot.com/swift-2-0-protocol-oriented-mvvm/) 的一篇文章，这篇文章里介绍了关于编程协议的所有知识。如果你听不到我说的是什么鬼，建议你\n+最好去读一下[**Natasha The Robot**](https://www.natashatherobot.com/)。\n \n-A month ago, I ended up watching a lecture by [**Steve “Scotty” Scott**](https://twitter.com/macdevnet) on MVVM-C. In one of the best videos I’ve seen this year, a defense that what matters is not the abbreviations technologies but what an architecture can help us improve our software. I have nothing against the people defending a technology “silver bullet”, but I prefer the strategy to get the best out of each idea to find the best possible solution.\n+一个月前我看完了[**Steve “Scotty” Scott**](https://twitter.com/macdevnet) 关于 MVVM-C的课程。 在这个我今年看过最佳视频之一的视频中，阐述了最重要的不是代码量减少，而是\n+这个架构能让我们的软件有什么提升。我不反对人们把某个技术称作“最佳方案”，但是我更喜欢追求极致、找到最好的解决方案。\n \n [![](https://i.ytimg.com/vi_webp/9VojuJpUuE8/sddefault.webp)](https://www.youtube.com/embed/9VojuJpUuE8)\n \n-In recent weeks, I thought a lot about how to improve my MVVM and create an architecture that supports developments. So I ended up seeing the conversation [**Krzysztof Zabłocki**](https://twitter.com/merowing_) on architectures apps, and it was very inspiring. This content is in [video](http://slideslive.com/38897361/good-ios-application-architecture-en) and in a [post on your blog](http://merowing.info/2016/01/improve-your-ios-architecture-with-flowcontrollers/).\n+最佳几周我在想怎么才能提高我对 MVVM 的理解，创建一个适用于开发的架构呢？所以我看了 [**Krzysztof Zabłocki**](https://twitter.com/merowing_) 关于软件架构的视频，\n+这个视频太赞了。如果你想看讲了什么可以点这里看[视频]((http://slideslive.com/38897361/good-ios-application-architecture-en))或者点这里看[博客]((http://merowing.info/2016/01/improve-your-ios-architecture-with-flowcontrollers/))。\n \n-After reading that content I ended up resolving to do a project, try to implement a better architecture to use in current projects. So architecture is defined making clear objectives.\n+看完 Krzysztof Zab?ocki 的视频后我决定建个项目来实现一种更好的架构。所以下个目标就是搭架构。","path":"TODO/mvvm-with-flow-controller-first-step.md","position":27,"original_position":28,"commit_id":"baa534520fd5c60c16f6e0d001468a0fe2d792c7","original_commit_id":"baa534520fd5c60c16f6e0d001468a0fe2d792c7","user":{"login":"yifili09","id":1016943,"avatar_url":"https://avatars.githubusercontent.com/u/1016943?v=3","gravatar_id":"","url":"https://api.github.com/users/yifili09","html_url":"https://github.com/yifili09","followers_url":"https://api.github.com/users/yifili09/followers","following_url":"https://api.github.com/users/yifili09/following{/other_user}","gists_url":"https://api.github.com/users/yifili09/gists{/gist_id}","starred_url":"https://api.github.com/users/yifili09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifili09/subscriptions","organizations_url":"https://api.github.com/users/yifili09/orgs","repos_url":"https://api.github.com/users/yifili09/repos","events_url":"https://api.github.com/users/yifili09/events{/privacy}","received_events_url":"https://api.github.com/users/yifili09/received_events","type":"User","site_admin":false},"body":"> So architecture is defined making clear objectives.\r\n> 所以下个目标就是搭架构\r\n\r\n所以，我为（实现）这个架构制定了清晰的目标。","created_at":"2016-08-01T05:21:55Z","updated_at":"2016-08-01T05:21:55Z","html_url":"https://github.com/xitu/gold-miner/pull/596#discussion_r72925198","pull_request_url":"https://api.github.com/repos/xitu/gold-miner/pulls/596","_links":{"self":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/comments/72925198"},"html":{"href":"https://github.com/xitu/gold-miner/pull/596#discussion_r72925198"},"pull_request":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/596"}}},"pull_request":{"url":"https://api.github.com/repos/xitu/gold-miner/pulls/596","id":79506511,"html_url":"https://github.com/xitu/gold-miner/pull/596","diff_url":"https://github.com/xitu/gold-miner/pull/596.diff","patch_url":"https://github.com/xitu/gold-miner/pull/596.patch","issue_url":"https://api.github.com/repos/xitu/gold-miner/issues/596","number":596,"state":"open","locked":false,"title":"翻译完成","user":{"login":"shixinzhang","id":17017832,"avatar_url":"https://avatars.githubusercontent.com/u/17017832?v=3","gravatar_id":"","url":"https://api.github.com/users/shixinzhang","html_url":"https://github.com/shixinzhang","followers_url":"https://api.github.com/users/shixinzhang/followers","following_url":"https://api.github.com/users/shixinzhang/following{/other_user}","gists_url":"https://api.github.com/users/shixinzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/shixinzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shixinzhang/subscriptions","organizations_url":"https://api.github.com/users/shixinzhang/orgs","repos_url":"https://api.github.com/users/shixinzhang/repos","events_url":"https://api.github.com/users/shixinzhang/events{/privacy}","received_events_url":"https://api.github.com/users/shixinzhang/received_events","type":"User","site_admin":false},"body":"使用流动控制器（Flow Controller ）实现 MVVM 协议模型","created_at":"2016-08-01T02:46:25Z","updated_at":"2016-08-01T05:21:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b38e6274bcd65cb42335724bba5a7cc42aa36737","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/xitu/gold-miner/pulls/596/commits","review_comments_url":"https://api.github.com/repos/xitu/gold-miner/pulls/596/comments","review_comment_url":"https://api.github.com/repos/xitu/gold-miner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xitu/gold-miner/issues/596/comments","statuses_url":"https://api.github.com/repos/xitu/gold-miner/statuses/baa534520fd5c60c16f6e0d001468a0fe2d792c7","head":{"label":"shixinzhang:patch-1","ref":"patch-1","sha":"baa534520fd5c60c16f6e0d001468a0fe2d792c7","user":{"login":"shixinzhang","id":17017832,"avatar_url":"https://avatars.githubusercontent.com/u/17017832?v=3","gravatar_id":"","url":"https://api.github.com/users/shixinzhang","html_url":"https://github.com/shixinzhang","followers_url":"https://api.github.com/users/shixinzhang/followers","following_url":"https://api.github.com/users/shixinzhang/following{/other_user}","gists_url":"https://api.github.com/users/shixinzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/shixinzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shixinzhang/subscriptions","organizations_url":"https://api.github.com/users/shixinzhang/orgs","repos_url":"https://api.github.com/users/shixinzhang/repos","events_url":"https://api.github.com/users/shixinzhang/events{/privacy}","received_events_url":"https://api.github.com/users/shixinzhang/received_events","type":"User","site_admin":false},"repo":{"id":63248043,"name":"gold-miner","full_name":"shixinzhang/gold-miner","owner":{"login":"shixinzhang","id":17017832,"avatar_url":"https://avatars.githubusercontent.com/u/17017832?v=3","gravatar_id":"","url":"https://api.github.com/users/shixinzhang","html_url":"https://github.com/shixinzhang","followers_url":"https://api.github.com/users/shixinzhang/followers","following_url":"https://api.github.com/users/shixinzhang/following{/other_user}","gists_url":"https://api.github.com/users/shixinzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/shixinzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shixinzhang/subscriptions","organizations_url":"https://api.github.com/users/shixinzhang/orgs","repos_url":"https://api.github.com/users/shixinzhang/repos","events_url":"https://api.github.com/users/shixinzhang/events{/privacy}","received_events_url":"https://api.github.com/users/shixinzhang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shixinzhang/gold-miner","description":"掘金翻译计划，翻译掘金上优质的英文文章","fork":true,"url":"https://api.github.com/repos/shixinzhang/gold-miner","forks_url":"https://api.github.com/repos/shixinzhang/gold-miner/forks","keys_url":"https://api.github.com/repos/shixinzhang/gold-miner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shixinzhang/gold-miner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shixinzhang/gold-miner/teams","hooks_url":"https://api.github.com/repos/shixinzhang/gold-miner/hooks","issue_events_url":"https://api.github.com/repos/shixinzhang/gold-miner/issues/events{/number}","events_url":"https://api.github.com/repos/shixinzhang/gold-miner/events","assignees_url":"https://api.github.com/repos/shixinzhang/gold-miner/assignees{/user}","branches_url":"https://api.github.com/repos/shixinzhang/gold-miner/branches{/branch}","tags_url":"https://api.github.com/repos/shixinzhang/gold-miner/tags","blobs_url":"https://api.github.com/repos/shixinzhang/gold-miner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shixinzhang/gold-miner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shixinzhang/gold-miner/git/refs{/sha}","trees_url":"https://api.github.com/repos/shixinzhang/gold-miner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shixinzhang/gold-miner/statuses/{sha}","languages_url":"https://api.github.com/repos/shixinzhang/gold-miner/languages","stargazers_url":"https://api.github.com/repos/shixinzhang/gold-miner/stargazers","contributors_url":"https://api.github.com/repos/shixinzhang/gold-miner/contributors","subscribers_url":"https://api.github.com/repos/shixinzhang/gold-miner/subscribers","subscription_url":"https://api.github.com/repos/shixinzhang/gold-miner/subscription","commits_url":"https://api.github.com/repos/shixinzhang/gold-miner/commits{/sha}","git_commits_url":"https://api.github.com/repos/shixinzhang/gold-miner/git/commits{/sha}","comments_url":"https://api.github.com/repos/shixinzhang/gold-miner/comments{/number}","issue_comment_url":"https://api.github.com/repos/shixinzhang/gold-miner/issues/comments{/number}","contents_url":"https://api.github.com/repos/shixinzhang/gold-miner/contents/{+path}","compare_url":"https://api.github.com/repos/shixinzhang/gold-miner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shixinzhang/gold-miner/merges","archive_url":"https://api.github.com/repos/shixinzhang/gold-miner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shixinzhang/gold-miner/downloads","issues_url":"https://api.github.com/repos/shixinzhang/gold-miner/issues{/number}","pulls_url":"https://api.github.com/repos/shixinzhang/gold-miner/pulls{/number}","milestones_url":"https://api.github.com/repos/shixinzhang/gold-miner/milestones{/number}","notifications_url":"https://api.github.com/repos/shixinzhang/gold-miner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shixinzhang/gold-miner/labels{/name}","releases_url":"https://api.github.com/repos/shixinzhang/gold-miner/releases{/id}","deployments_url":"https://api.github.com/repos/shixinzhang/gold-miner/deployments","created_at":"2016-07-13T13:28:29Z","updated_at":"2016-07-27T11:02:15Z","pushed_at":"2016-08-01T02:48:12Z","git_url":"git://github.com/shixinzhang/gold-miner.git","ssh_url":"git@github.com:shixinzhang/gold-miner.git","clone_url":"https://github.com/shixinzhang/gold-miner.git","svn_url":"https://github.com/shixinzhang/gold-miner","homepage":"http://gold.xitu.io","size":14272,"stargazers_count":8,"watchers_count":8,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":8,"default_branch":"patch-1"}},"base":{"label":"xitu:master","ref":"master","sha":"e5330f0b899d8adadaa5f1bed149e7c800df2b0b","user":{"login":"xitu","id":10482599,"avatar_url":"https://avatars.githubusercontent.com/u/10482599?v=3","gravatar_id":"","url":"https://api.github.com/users/xitu","html_url":"https://github.com/xitu","followers_url":"https://api.github.com/users/xitu/followers","following_url":"https://api.github.com/users/xitu/following{/other_user}","gists_url":"https://api.github.com/users/xitu/gists{/gist_id}","starred_url":"https://api.github.com/users/xitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitu/subscriptions","organizations_url":"https://api.github.com/users/xitu/orgs","repos_url":"https://api.github.com/users/xitu/repos","events_url":"https://api.github.com/users/xitu/events{/privacy}","received_events_url":"https://api.github.com/users/xitu/received_events","type":"Organization","site_admin":false},"repo":{"id":45512989,"name":"gold-miner","full_name":"xitu/gold-miner","owner":{"login":"xitu","id":10482599,"avatar_url":"https://avatars.githubusercontent.com/u/10482599?v=3","gravatar_id":"","url":"https://api.github.com/users/xitu","html_url":"https://github.com/xitu","followers_url":"https://api.github.com/users/xitu/followers","following_url":"https://api.github.com/users/xitu/following{/other_user}","gists_url":"https://api.github.com/users/xitu/gists{/gist_id}","starred_url":"https://api.github.com/users/xitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitu/subscriptions","organizations_url":"https://api.github.com/users/xitu/orgs","repos_url":"https://api.github.com/users/xitu/repos","events_url":"https://api.github.com/users/xitu/events{/privacy}","received_events_url":"https://api.github.com/users/xitu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xitu/gold-miner","description":"掘金翻译计划，翻译掘金上优质的英文文章","fork":false,"url":"https://api.github.com/repos/xitu/gold-miner","forks_url":"https://api.github.com/repos/xitu/gold-miner/forks","keys_url":"https://api.github.com/repos/xitu/gold-miner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xitu/gold-miner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xitu/gold-miner/teams","hooks_url":"https://api.github.com/repos/xitu/gold-miner/hooks","issue_events_url":"https://api.github.com/repos/xitu/gold-miner/issues/events{/number}","events_url":"https://api.github.com/repos/xitu/gold-miner/events","assignees_url":"https://api.github.com/repos/xitu/gold-miner/assignees{/user}","branches_url":"https://api.github.com/repos/xitu/gold-miner/branches{/branch}","tags_url":"https://api.github.com/repos/xitu/gold-miner/tags","blobs_url":"https://api.github.com/repos/xitu/gold-miner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xitu/gold-miner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xitu/gold-miner/git/refs{/sha}","trees_url":"https://api.github.com/repos/xitu/gold-miner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xitu/gold-miner/statuses/{sha}","languages_url":"https://api.github.com/repos/xitu/gold-miner/languages","stargazers_url":"https://api.github.com/repos/xitu/gold-miner/stargazers","contributors_url":"https://api.github.com/repos/xitu/gold-miner/contributors","subscribers_url":"https://api.github.com/repos/xitu/gold-miner/subscribers","subscription_url":"https://api.github.com/repos/xitu/gold-miner/subscription","commits_url":"https://api.github.com/repos/xitu/gold-miner/commits{/sha}","git_commits_url":"https://api.github.com/repos/xitu/gold-miner/git/commits{/sha}","comments_url":"https://api.github.com/repos/xitu/gold-miner/comments{/number}","issue_comment_url":"https://api.github.com/repos/xitu/gold-miner/issues/comments{/number}","contents_url":"https://api.github.com/repos/xitu/gold-miner/contents/{+path}","compare_url":"https://api.github.com/repos/xitu/gold-miner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xitu/gold-miner/merges","archive_url":"https://api.github.com/repos/xitu/gold-miner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xitu/gold-miner/downloads","issues_url":"https://api.github.com/repos/xitu/gold-miner/issues{/number}","pulls_url":"https://api.github.com/repos/xitu/gold-miner/pulls{/number}","milestones_url":"https://api.github.com/repos/xitu/gold-miner/milestones{/number}","notifications_url":"https://api.github.com/repos/xitu/gold-miner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xitu/gold-miner/labels{/name}","releases_url":"https://api.github.com/repos/xitu/gold-miner/releases{/id}","deployments_url":"https://api.github.com/repos/xitu/gold-miner/deployments","created_at":"2015-11-04T03:29:13Z","updated_at":"2016-08-01T03:46:43Z","pushed_at":"2016-08-01T03:54:18Z","git_url":"git://github.com/xitu/gold-miner.git","ssh_url":"git@github.com:xitu/gold-miner.git","clone_url":"https://github.com/xitu/gold-miner.git","svn_url":"https://github.com/xitu/gold-miner","homepage":"http://gold.xitu.io","size":15082,"stargazers_count":2602,"watchers_count":2602,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":496,"mirror_url":null,"open_issues_count":15,"forks":496,"open_issues":15,"watchers":2602,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/596"},"html":{"href":"https://github.com/xitu/gold-miner/pull/596"},"issue":{"href":"https://api.github.com/repos/xitu/gold-miner/issues/596"},"comments":{"href":"https://api.github.com/repos/xitu/gold-miner/issues/596/comments"},"review_comments":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/596/comments"},"review_comment":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xitu/gold-miner/pulls/596/commits"},"statuses":{"href":"https://api.github.com/repos/xitu/gold-miner/statuses/baa534520fd5c60c16f6e0d001468a0fe2d792c7"}}}}
{"actor":{"display_login":"yifili09"}}