Hello world! This is my first post, and also the start of the rest of my life:)
Hi, 这是我的第一篇blog, 好好生活, 学习和思考!
Architecture iOS开发最初遵循原始的MVC架构, 但是随着业务的演进代码越来越复杂, 很容易变成Massive View Controller, 最终导致代码难以维护, 难以测试, 难以复用. 为了解决这个问题逐步演化出: MVP MVVM VIPER MVVM-C 等架构. 今天我们就用各个架构实现一个ToDoList来看看他们是如何解决问题的以及各自...
Why we need dependency injection 1. Dependency Dependency is the connection between modules, take BookList module for example, it needs lots of services, such as: Network for data retrieving ...
How to divide modules Modules can be divided by different perspective, and usually there are two different perspectives: function and business, from the functional perspective, Network, Dependency...
-
RadioGroup Picker for iOS