├── Behavioral.playground ├── Pages │ ├── Chain of Responsibility .xcplaygroundpage │ │ ├── Contents.swift │ │ ├── Resources │ │ │ └── ChainOfResponsibility.png │ │ └── Sources │ │ │ ├── Job.swift │ │ │ ├── Mechanic.swift │ │ │ ├── MechanisSkillGroup.swift │ │ │ └── Shop.swift │ ├── Command.xcplaygroundpage │ │ └── Contents.swift │ ├── Interpreter.xcplaygroundpage │ │ └── Contents.swift │ ├── Iterator.xcplaygroundpage │ │ └── Contents.swift │ ├── Mediator.xcplaygroundpage │ │ └── Contents.swift │ ├── Memento.xcplaygroundpage │ │ └── Contents.swift │ ├── Observer.xcplaygroundpage │ │ └── Contents.swift │ ├── State.xcplaygroundpage │ │ └── Contents.swift │ ├── Strategy.xcplaygroundpage │ │ └── Contents.swift │ └── Visitor.xcplaygroundpage │ │ ├── Contents.swift │ │ └── timeline.xctimeline ├── contents.xcplayground └── playground.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ ├── sboldt.xcuserdatad │ └── UserInterfaceState.xcuserstate │ └── sebastianboldt.xcuserdatad │ └── UserInterfaceState.xcuserstate ├── Creational.playground ├── Pages │ ├── Abstract Factory.xcplaygroundpage │ │ └── Contents.swift │ ├── Builder.xcplaygroundpage │ │ └── Contents.swift │ ├── Factory Method.xcplaygroundpage │ │ └── Contents.swift │ ├── Prototype.xcplaygroundpage │ │ └── Contents.swift │ └── Singleton.xcplaygroundpage │ │ └── Contents.swift ├── contents.xcplayground └── playground.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ └── sboldt.xcuserdatad │ └── UserInterfaceState.xcuserstate ├── GOFSwift.xcworkspace ├── contents.xcworkspacedata ├── xcshareddata │ └── IDEWorkspaceChecks.plist └── xcuserdata │ ├── sboldt.xcuserdatad │ └── UserInterfaceState.xcuserstate │ └── sebastianboldt.xcuserdatad │ ├── UserInterfaceState.xcuserstate │ └── xcdebugger │ └── Breakpoints_v2.xcbkptlist ├── README.md ├── SOLID.playground ├── Pages │ ├── Dependency Inversion.xcplaygroundpage │ │ └── Contents.swift │ ├── Interface Segregation.xcplaygroundpage │ │ └── Contents.swift │ ├── Liskov Substitution.xcplaygroundpage │ │ └── Contents.swift │ ├── Open Closes Principle.xcplaygroundpage │ │ └── Contents.swift │ └── Single Responsibility.xcplaygroundpage │ │ └── Contents.swift ├── contents.xcplayground └── playground.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ └── sboldt.xcuserdatad │ └── UserInterfaceState.xcuserstate └── Structural.playground ├── Pages ├── Adapter.xcplaygroundpage │ └── Contents.swift ├── Bridge.xcplaygroundpage │ └── Contents.swift ├── Composite.xcplaygroundpage │ └── Contents.swift ├── Decorator.xcplaygroundpage │ └── Contents.swift ├── Facade.xcplaygroundpage │ └── Contents.swift ├── Flyweight.xcplaygroundpage │ └── Contents.swift ├── Protection Proxy.xcplaygroundpage │ └── Contents.swift └── Virtual Proxy.xcplaygroundpage │ └── Contents.swift ├── contents.xcplayground └── playground.xcworkspace ├── contents.xcworkspacedata └── xcuserdata └── sboldt.xcuserdatad └── UserInterfaceState.xcuserstate /Behavioral.playground/Pages/Chain of Responsibility .xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Chain of Responsibility .xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Chain of Responsibility .xcplaygroundpage/Resources/ChainOfResponsibility.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Chain of Responsibility .xcplaygroundpage/Resources/ChainOfResponsibility.png -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Chain of Responsibility .xcplaygroundpage/Sources/Job.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Chain of Responsibility .xcplaygroundpage/Sources/Job.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Chain of Responsibility .xcplaygroundpage/Sources/Mechanic.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Chain of Responsibility .xcplaygroundpage/Sources/Mechanic.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Chain of Responsibility .xcplaygroundpage/Sources/MechanisSkillGroup.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Chain of Responsibility .xcplaygroundpage/Sources/MechanisSkillGroup.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Chain of Responsibility .xcplaygroundpage/Sources/Shop.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Chain of Responsibility .xcplaygroundpage/Sources/Shop.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Command.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Command.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Interpreter.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Interpreter.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Iterator.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Iterator.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Mediator.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Mediator.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Memento.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Memento.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Observer.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Observer.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/State.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/State.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Strategy.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Strategy.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Visitor.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Visitor.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Behavioral.playground/Pages/Visitor.xcplaygroundpage/timeline.xctimeline: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/Pages/Visitor.xcplaygroundpage/timeline.xctimeline -------------------------------------------------------------------------------- /Behavioral.playground/contents.xcplayground: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/contents.xcplayground -------------------------------------------------------------------------------- /Behavioral.playground/playground.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/playground.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Behavioral.playground/playground.xcworkspace/xcuserdata/sboldt.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/playground.xcworkspace/xcuserdata/sboldt.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Behavioral.playground/playground.xcworkspace/xcuserdata/sebastianboldt.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Behavioral.playground/playground.xcworkspace/xcuserdata/sebastianboldt.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Creational.playground/Pages/Abstract Factory.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Creational.playground/Pages/Abstract Factory.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Creational.playground/Pages/Builder.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Creational.playground/Pages/Builder.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Creational.playground/Pages/Factory Method.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Creational.playground/Pages/Factory Method.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Creational.playground/Pages/Prototype.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Creational.playground/Pages/Prototype.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Creational.playground/Pages/Singleton.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Creational.playground/Pages/Singleton.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Creational.playground/contents.xcplayground: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Creational.playground/contents.xcplayground -------------------------------------------------------------------------------- /Creational.playground/playground.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Creational.playground/playground.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Creational.playground/playground.xcworkspace/xcuserdata/sboldt.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Creational.playground/playground.xcworkspace/xcuserdata/sboldt.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /GOFSwift.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/GOFSwift.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /GOFSwift.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/GOFSwift.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /GOFSwift.xcworkspace/xcuserdata/sboldt.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/GOFSwift.xcworkspace/xcuserdata/sboldt.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /GOFSwift.xcworkspace/xcuserdata/sebastianboldt.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/GOFSwift.xcworkspace/xcuserdata/sebastianboldt.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /GOFSwift.xcworkspace/xcuserdata/sebastianboldt.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/GOFSwift.xcworkspace/xcuserdata/sebastianboldt.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/README.md -------------------------------------------------------------------------------- /SOLID.playground/Pages/Dependency Inversion.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/SOLID.playground/Pages/Dependency Inversion.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /SOLID.playground/Pages/Interface Segregation.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/SOLID.playground/Pages/Interface Segregation.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /SOLID.playground/Pages/Liskov Substitution.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/SOLID.playground/Pages/Liskov Substitution.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /SOLID.playground/Pages/Open Closes Principle.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/SOLID.playground/Pages/Open Closes Principle.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /SOLID.playground/Pages/Single Responsibility.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/SOLID.playground/Pages/Single Responsibility.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /SOLID.playground/contents.xcplayground: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/SOLID.playground/contents.xcplayground -------------------------------------------------------------------------------- /SOLID.playground/playground.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/SOLID.playground/playground.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /SOLID.playground/playground.xcworkspace/xcuserdata/sboldt.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/SOLID.playground/playground.xcworkspace/xcuserdata/sboldt.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Structural.playground/Pages/Adapter.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Structural.playground/Pages/Adapter.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Structural.playground/Pages/Bridge.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Structural.playground/Pages/Bridge.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Structural.playground/Pages/Composite.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Structural.playground/Pages/Composite.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Structural.playground/Pages/Decorator.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Structural.playground/Pages/Decorator.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Structural.playground/Pages/Facade.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Structural.playground/Pages/Facade.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Structural.playground/Pages/Flyweight.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Structural.playground/Pages/Flyweight.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Structural.playground/Pages/Protection Proxy.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Structural.playground/Pages/Protection Proxy.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Structural.playground/Pages/Virtual Proxy.xcplaygroundpage/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Structural.playground/Pages/Virtual Proxy.xcplaygroundpage/Contents.swift -------------------------------------------------------------------------------- /Structural.playground/contents.xcplayground: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Structural.playground/contents.xcplayground -------------------------------------------------------------------------------- /Structural.playground/playground.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Structural.playground/playground.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Structural.playground/playground.xcworkspace/xcuserdata/sboldt.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SebastianBoldt/Gang-of-Four-and-Solid-Principles-in-Swift/HEAD/Structural.playground/playground.xcworkspace/xcuserdata/sboldt.xcuserdatad/UserInterfaceState.xcuserstate --------------------------------------------------------------------------------