Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangao2018 committed Dec 4, 2024
1 parent 81d8551 commit 345e931
Show file tree
Hide file tree
Showing 19 changed files with 8 additions and 1,682 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# 简单工厂、工厂方法、抽象工厂
# 简单工厂、工厂方法、抽象工厂

标签(空格分隔): 设计模式 Swift
<span style="color: blue; background: yellow; border-radius: 5px; padding: 2px 4px;">Swift</span>

---

[TOC]

**简单工厂**不是一个设计模式,而是一直编码习惯

**工厂方法**是定义一个创建对象的接口,子类实现该接口,子类决定具体创建哪个对象。
Expand Down
Loading

0 comments on commit 345e931

Please sign in to comment.