gitextract_rec1cm42/ ├── .github/ │ ├── FUNDING.yml │ └── workflows/ │ └── generate-playground.yml ├── .gitignore ├── CONTRIBUTING-CN.md ├── CONTRIBUTING.md ├── Design-Patterns-CN.playground/ │ ├── Pages/ │ │ ├── Behavioral.xcplaygroundpage/ │ │ │ └── Contents.swift │ │ ├── Creational.xcplaygroundpage/ │ │ │ └── Contents.swift │ │ ├── Index.xcplaygroundpage/ │ │ │ └── Contents.swift │ │ └── Structural.xcplaygroundpage/ │ │ ├── Contents.swift │ │ └── timeline.xctimeline │ └── contents.xcplayground ├── Design-Patterns.playground/ │ ├── Pages/ │ │ ├── Behavioral.xcplaygroundpage/ │ │ │ └── Contents.swift │ │ ├── Creational.xcplaygroundpage/ │ │ │ └── Contents.swift │ │ ├── Index.xcplaygroundpage/ │ │ │ └── Contents.swift │ │ └── Structural.xcplaygroundpage/ │ │ ├── Contents.swift │ │ └── timeline.xctimeline │ └── contents.xcplayground ├── LICENSE ├── PULL_REQUEST_TEMPLATE.md ├── README-CN.md ├── README.md ├── generate-playground-cn.sh ├── generate-playground.sh ├── source/ │ ├── Index/ │ │ ├── header.md │ │ └── welcome.swift │ ├── behavioral/ │ │ ├── chain_of_responsibility.swift │ │ ├── command.swift │ │ ├── header.md │ │ ├── interpreter.swift │ │ ├── iterator.swift │ │ ├── mediator.swift │ │ ├── memento.swift │ │ ├── observer.swift │ │ ├── state.swift │ │ ├── strategy.swift │ │ ├── template_method.swift │ │ └── visitor.swift │ ├── contents.md │ ├── contentsReadme.md │ ├── creational/ │ │ ├── abstract_factory.swift │ │ ├── builder.swift │ │ ├── factory.swift │ │ ├── header.md │ │ ├── monostate.swift │ │ ├── prototype.swift │ │ └── singleton.swift │ ├── endComment │ ├── endSwiftCode │ ├── footer.md │ ├── imports.swift │ ├── startComment │ ├── startSwiftCode │ └── structural/ │ ├── adapter.swift │ ├── bridge.swift │ ├── composite.swift │ ├── decorator.swift │ ├── facade.swift │ ├── flyweight.swift │ ├── header.md │ ├── protection_proxy.swift │ └── virtual_proxy.swift └── source-cn/ ├── Index/ │ ├── header.md │ └── welcome.swift ├── behavioral/ │ ├── chain_of_responsibility.swift │ ├── command.swift │ ├── header.md │ ├── interpreter.swift │ ├── iterator.swift │ ├── mediator.swift │ ├── memento.swift │ ├── observer.swift │ ├── state.swift │ ├── strategy.swift │ ├── template_method.swift │ └── visitor.swift ├── contents.md ├── contentsReadme.md ├── creational/ │ ├── abstract_factory.swift │ ├── builder.swift │ ├── factory.swift │ ├── header.md │ ├── monostate.swift │ ├── prototype.swift │ └── singleton.swift ├── endComment ├── endSwiftCode ├── footer.md ├── imports.swift ├── startComment ├── startSwiftCode └── structural/ ├── adapter.swift ├── bridge.swift ├── composite.swift ├── decorator.swift ├── facade.swift ├── flyweight.swift ├── header.md ├── protection_proxy.swift └── virtual_proxy.swift