首页 iOS开发从0到1的思考-项目结构
文章
取消

iOS开发从0到1的思考-项目结构

项目结构

好的架构不是设计出来的,而是进化而来的!

初探

App |- AppDelegate 应用入口 |- Sections 模块 |-Common 公用部分 |-Section1 模块1 |-Model 1-model |-View 1-view |-Controller 1-controller |-Section2 模块2 |-Model 2-model |-View 2-view |-Controller 2-controller … …
|- Util 一些常用控件和Category、Manager之类 |-Helpers 工具类 |-Categories 类别 |-Macros 宏 |-Network 网络 |-Database 数据 … … |- Vendors 第三方库 |- |- |- Resources 资源文件

参考

辅助工具

synx A command-line tool that reorganizes your Xcode project folder to match your Xcode groups

本文由作者按照 CC BY 4.0 进行授权