์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- CollectionView
- ios
- SwiftUI
- designpattern
- TCA
- realm
- rxcocoa
- SnapKit
- arkit
- tableView
- node.js
- XCTest
- reactorkit
- RxSwift
- visionOS
- MVVM
- ๋ฐฑ์ค
- Lv2
- Flutter
- raywenderlich
- ํ๋ก๊ทธ๋๋จธ์ค
- UIKit
- Swfit
- ํจ์คํธ์บ ํผ์ค
- BFS
- swift
- Kuring
- Xcode
- BOJ
- combine
- Today
- Total
๋ชฉ๋กapple/๐ก DesignPattern & Architecture (22)
lgvv98
Clean Architecture Swift #2 ์ฌ๊ธฐ๋ถํฐ๋ ํด๋ฆฐ ์ํคํ ์ณ ์ฝ๋ ๋ถ์ํ ๋ด์ฉ์ ๋ฐํ์ผ๋ก ์์ ๋ฅผ ๋ง๋ค์ด๋ณด๋ ค๊ณ ํฉ๋๋ค. ํด๋ฆฐ ์ํคํ ์ณ ์ฐ์ต์ ์ํด ReactorKit + Moya๋ฅผ ์ฌ์ฉ ๐ฟ term ๐ฟ DTO(Data Transfer Object) ๊ณ์ธต ๊ฐ ๋ฐ์ดํฐ ๊ตํ์ ์ํด ์ฌ์ฉํ๋ ๊ฐ์ฒด๋ก, DTO๋ ๋ก์ง์ ๊ฐ์ง์ง ์๋ ๋ฐ์ดํฐ ๊ฐ์ฒด๋ฅผ ๊ฐ์ง ํด๋์ค (๋ถ์ํ ํ๋ก์ ํธ) https://github.com/kudoleh/iOS-Clean-Architecture-MVVM GitHub - kudoleh/iOS-Clean-Architecture-MVVM: Template iOS app using Clean Architecture and MVVM. Includes DIContainer, FlowCoor ..
Clean Architecture Swift #1 1. Independent of Frameworks: ์ํคํ ์ณ๋ ์ํํธ ์จ์ด ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์กด์ฌ์ ์์กดํ์ง ์์. 2. Testable: ๋น์ฆ๋์ค ๋ก์ง์ UI, DB, ์น ์๋ฒ ๋๋ ๊ธฐํ ์ธ๋ถ ์์ ์์ด ํ ์คํธ ํ ์ ์์. 3. Independent of UI: UI๋ ์์คํ ์ ๋ณ๊ฒฝํ์ง ์๊ณ ๋ ์ฝ๊ฒ ๋ณ๊ฒฝ ๊ฐ๋ฅ (ex. ๋น์ฆ๋์ค ๋ก์ง์ ๋ฐ๊พธ์ง ์๊ณ ์น UI๋ฅผ ์ฝ์ UI๋ก ๋ณ๊ฒฝ ๊ฐ๋ฅ) 4. Independent of Database: ๋น์ฆ๋์ค ๋ก์ง์ด DB์ ๋ฐ์ธ๋ฉ ๋์ง ์์ 5. Independent of any external agency: ๋น์ฆ๋์ค ๋ก์ง์ ์ธ๋ถ ์ธ๊ณ(outside world)์ ์ํฅ์ ๋ฐ์ง ์์. ์์ ๋ค์ฏ๊ฐ์ง๋ฅผ ๋จ์ผ ์์ด๋์ด๋ก ํต์ผํ๊ธฐ ..
Coodinator Pattern โ Coodinator Pattern ์๋์ ๋ฌธ์๋ฅผ ๊ตฌ์ ํ์ฌ ์์ด ๋ฌธ์๋ฅผ ๋ฒ์ญํ๊ณ ์ดํดํ ๊ฒ์ ๋ฐํ์ผ๋ก ๊ธ์ ์์ฑํ๊ณ ์์ต๋๋ค. https://www.raywenderlich.com/books/design-patterns-by-tutorials/v3.0/chapters/23-coordinator-pattern Design Patterns by Tutorials, Chapter 23: Coordinator Pattern The coordinator pattern is a structural design pattern for organizing flow logic between view controllers. This pattern can be adopted for only..
Command Pattern โ Command Pattern ์๋์ ๋ฌธ์๋ฅผ ๊ตฌ์ ํ์ฌ ์์ด ๋ฌธ์๋ฅผ ๋ฒ์ญํ๊ณ ์ดํดํ ๊ฒ์ ๋ฐํ์ผ๋ก ๊ธ์ ์์ฑํ๊ณ ์์ต๋๋ค. https://www.raywenderlich.com/books/design-patterns-by-tutorials/v3.0/chapters/21-command-pattern Design Patterns by Tutorials, Chapter 21: Command Pattern This is a behavioral pattern that encapsulates information to perform an action into a command object. Learn how you can model the concept of executing an ac..
Composite Pattern โ Composite Pattern ์๋์ ๋ฌธ์๋ฅผ ๊ตฌ์ ํ์ฌ ์์ด ๋ฌธ์๋ฅผ ๋ฒ์ญํ๊ณ ์ดํดํ ๊ฒ์ ๋ฐํ์ผ๋ก ๊ธ์ ์์ฑํ๊ณ ์์ต๋๋ค. https://www.raywenderlich.com/books/design-patterns-by-tutorials/v3.0/chapters/20-composite-pattern Design Patterns by Tutorials, Chapter 20: Composite Pattern This is a structural pattern that groups a set of objects into a tree so that they may be manipulated as though they were one object. If your app's ..
Mediator Pattern โ Mediator Pattern ์๋์ ๋ฌธ์๋ฅผ ๊ตฌ์ ํ์ฌ ์์ด ๋ฌธ์๋ฅผ ๋ฒ์ญํ๊ณ ์ดํดํ ๊ฒ์ ๋ฐํ์ผ๋ก ๊ธ์ ์์ฑํ๊ณ ์์ต๋๋ค. https://www.raywenderlich.com/books/design-patterns-by-tutorials/v3.0/chapters/19-mediator-pattern Design Patterns by Tutorials, Chapter 19: Mediator Pattern This is a behavioral design pattern that encapsulates how objects, called colleagues for this pattern, communicate with one another. This pattern is use..