Skip to content

Commit 7682b0f

Browse files
author
Sebastian Boldt
committed
added solid stuff to readme and added empty playground for each principle
1 parent 3d3aa14 commit 7682b0f

File tree

10 files changed

+61
-5
lines changed

10 files changed

+61
-5
lines changed

GOFSwift.xcworkspace/contents.xcworkspacedata

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

README.md

+15-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
# GOFSwift
2-
👨‍👩‍👧‍👦 My personal Repo to learn all GOF patterns using Swift and Playgrounds
1+
# GoF & S.O.L.I.D in Swift
2+
👨‍👩‍👧‍👦 My personal Repo to learn all GOF und SOLID Patterns using Swift and Playgrounds
33

44
✅ Implemented and internalized
55

66
❌ Waiting for implementation
77

8-
## Behavioral
8+
## GoF - Gang of Four
9+
10+
### Behavioral
911

1012
* ✅ Chain Of Responsibility
1113
* ✅ Command
@@ -18,7 +20,7 @@
1820
* ✅ State
1921
* ❌ Interpreter
2022

21-
## Creational
23+
### Creational
2224

2325
* ✅ Singleton
2426
* ✅ Prototype
@@ -27,7 +29,7 @@
2729
* ✅ Abstract Factory
2830

2931

30-
## Structural
32+
### Structural
3133

3234
* ✅ Bridge
3335
* ✅ Decorator
@@ -37,3 +39,11 @@
3739
* ✅ Facade
3840
* ✅ Protection Proxy
3941
* ✅ Virtual Proxy
42+
43+
## S.O.L.I.D
44+
45+
* ❌ Single Responsibilty Principle (SRP)
46+
* ❌ Open Closed Principle (OCP)
47+
* ❌ Liskov Substitution Principle (LSP)
48+
* ❌ Interface Segregation Principle (ISP)
49+
* ❌ Dependency Inversion Principle (DIP)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//: [Previous](@previous)
2+
3+
import Foundation
4+
5+
var str = "Hello, playground"
6+
7+
//: [Next](@next)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//: [Previous](@previous)
2+
3+
import Foundation
4+
5+
var str = "Hello, playground"
6+
7+
//: [Next](@next)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//: [Previous](@previous)
2+
3+
import Foundation
4+
5+
var str = "Hello, playground"
6+
7+
//: [Next](@next)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//: [Previous](@previous)
2+
3+
import Foundation
4+
5+
var str = "Hello, playground"
6+
7+
//: [Next](@next)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
//: Playground - noun: a place where people can play
2+
3+
import UIKit
4+
5+
var str = "Hello, playground"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Timeline
3+
version = "3.0">
4+
<TimelineItems>
5+
</TimelineItems>
6+
</Timeline>
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<playground version='5.0' target-platform='ios'>
3+
<timeline fileName='timeline.xctimeline'/>
4+
</playground>

0 commit comments

Comments
 (0)