mirror of
https://github.com/jphong1111/awesome-ios-developer.git
synced 2025-07-16 02:41:31 +07:00
Update README.md
This commit is contained in:
19
README.md
19
README.md
@ -25,9 +25,24 @@ The way of force you to adapt coding convention
|
|||||||
|
|
||||||
put .yml file into root folder and apply following code in Build Phases
|
put .yml file into root folder and apply following code in Build Phases
|
||||||
|
|
||||||
### Design Pattern
|
## Design Pattern
|
||||||
|
|
||||||
|
### Delegate Pattern
|
||||||
|
|
||||||
|
```
|
||||||
|
weak var delegate: SomeProtocol?
|
||||||
|
```
|
||||||
|
|
||||||
|
### Singleton Pattern
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
class SingletonPattern {
|
||||||
|
static let manager = SingletonPattern()
|
||||||
|
|
||||||
|
private init() {}
|
||||||
|
```
|
||||||
|
|
||||||
## Delegate pattern
|
|
||||||
|
|
||||||
## UIDesign
|
## UIDesign
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user