File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 9494
9595[ @张嘉夫] ( https://github.com/josephchang10 ) :Swift 的[ 属性观察器] ( https://docs.swift.org/swift-book/LanguageGuide/Properties.html#ID262 ) (即 ` willSet ` 和 ` didSet ` hook 函数)非常实用,可以用于验证、通知和调用 log 方法等等,适用于结构体、类和枚举。但在使用强大的属性观察器时,要避免搬起石头砸了自己的脚,这篇文章会为你介绍如何避免在 Swift 属性观察器中创建无限循环。
9696
97+ ### 🐎 [ 如何画出一张合格的技术架构图?] ( https://mp.weixin.qq.com/s/1hPZacqJuUeElyHiMxa9rw )
98+
99+ 画架构图是架构师的第一门课,本文介绍了架构图的各种画法和具体案例,希望让大家在架构图方面的理念和经验得到提升
100+
101+ 架构图分类
102+ 1 . 场景视图:一般就是我们理解的用例图
103+ 2 . 逻辑视图:一般是组件图和类图
104+ 3 . 物理视图:一般是部署图
105+ 4 . 处理流程视图:一般是时序图和流程图
106+ 5 . 开发视图:一般是包图
107+
108+ 好的架构图:好的架构图是不需要解释的,它应该是自描述的,并且要具备一致性和足够的准确性,能够与代码相呼应
109+
110+ 最后推荐 [ C4官网] ( https://c4model.com/ ) ,有各种画图的模板可以参考
111+
97112## 工具
98113
99114### [ MTHawkeye] ( https://github.com/meitu/MTHawkeye )
You can’t perform that action at this time.
0 commit comments