5 Unstar Star 3 Fork 2

Chestnuts / ios_frameworkObjective-C

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
ios_framework spread retract

Clone or download
Chestnuts authored 1.2.0
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

ios_framework

#开发框架

函数式编程 响应式编程 高阶函数

注:本框架为多数项目开发基类通用框架结构,如有特殊需求可进行单独定制

  • 框架在使用的过程中还是发现了一些问题的,开始的时候是使用的MVC目录结构,后续项目维护由于项目庞大的业务逻辑改为MVVM,下面说一下两者的优缺点吧

  • MVVM

优点:业务逻辑清晰,可重复使用view,代码高度解耦 缺点:过于分离的层次造成项目维护代码较高,代码量也相对增加,后期修复bug时成本也较高,不易维护

  • MVC

优点:代码逻辑清晰,较为容易理解,层次较为分明 缺点:由于庞大的业务逻辑都会堆放在Controller造成控制器过于臃肿,view以及一些其他类也较为难 以实现循环利用,难以分离

基类框架的设计初衷

响应式编程和函数式编程思想

Comments ( 1 )

Sign in for post a comment

Objective-C
1
https://gitee.com/Chestnutss/ios_framework.git
git@gitee.com:Chestnutss/ios_framework.git
Chestnutss
ios_framework
ios_framework
master

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542