iOS架构师之路-核心篇一

994 阅读1分钟

一. App 常用模块设计

二. App 架构和重构

面向对象的设计原则有哪些?

单一职责原则、开放封闭原则、里式替换原则、接口隔离原则、依赖倒转原则,组合复用原则、迪米特法则

速记法:SOLID + CL 分别是: 【Single Responsibility Principle】, 【Open-Closed Principle】, 【Liskov Substitution Principle】, 【Dependence Inversion Principle】, 【Interface Segregation Principle】, 【Composite Reuse Principle】, 【Law of Demeter】

扩展阅读 - 面向对象设计原则概述

开发中常用的设计模式有哪些

单例模式、策略模式、状态模式、责任链模式

扩展阅读 - 谈一下iOS开发中常用的设计模式