์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
- SnapKit
- raywenderlich
- arkit
- UIKit
- ๋ฐฑ์ค
- Lv2
- realm
- BOJ
- combine
- SwiftUI
- RxSwift
- visionOS
- Swfit
- BFS
- XCTest
- reactorkit
- TCA
- swift
- ํจ์คํธ์บ ํผ์ค
- ํ๋ก๊ทธ๋๋จธ์ค
- rxcocoa
- Kuring
- ios
- MVVM
- CollectionView
- Flutter
- tableView
- designpattern
- Xcode
- node.js
- Today
- Total
๋ชฉ๋กswift (148)
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)์ ์ํฅ์ ๋ฐ์ง ์์. ์์ ๋ค์ฏ๊ฐ์ง๋ฅผ ๋จ์ผ ์์ด๋์ด๋ก ํต์ผํ๊ธฐ ..
ReactorKit ๊ณต๋ถํ๊ธฐ #6 transform โ ๊ฒฐ๊ณผ๋ฌผ UI โ (ReactorKit ๊ณต์๋ฌธ์) https://github.com/ReactorKit/ReactorKit GitHub - ReactorKit/ReactorKit: A library for reactive and unidirectional Swift applications A library for reactive and unidirectional Swift applications - GitHub - ReactorKit/ReactorKit: A library for reactive and unidirectional Swift applications github.com Global States Unlike Redux, ReactorKit ..
UICollectionView CompositionalLayout ๊ณต์๋ฌธ์๋ฅผ ์ด์๋๋ฐ ์ํ์ฝ๋๊ฐ 14.0 ์ด์์ผ๋ก ๋์ด. - ๊ธ ์ ์ผ ํ๋จ์ ์ฐธ๊ณ ๋ถ๋ถ์ ์์ ์ทจ์ ์ค๋นํ๋ฉด์ 13.0์ ๊ธฐ์ค์ผ๋ก ๊ณต๋ถํ๊ณ ์์ด์ Xcode๋ฅผ ํตํด ์ด์ด๋ณด๋๊น ๋คํํ๋ 13.0 ์ด์์์๋ ์ฌ์ฉ์ด ๊ฐ๋ฅํ์ ์ด์ ์๋ DataSource๋ง SnapShot์ ์ฌ์ฉํ๊ณ ๋ ์ด์์์ FlowLayout์ ์ฌ์ฉํ์๋๋ฐ, ์ด ๋ถ๋ถ๋ง์ ๋ ๊ณต๋ถํด๋ณด๋ ค๊ณ ํจ. โ SnapShot + FlowLayout ํฌ์คํ 2022.09.04 - [iOS] - [iOS] UICollectionView์ ๋ํด์ ์์๋ณด๊ธฐ 7ํธ (UICollectionViewDiffableDataSource) [iOS] UICollectionView์ ๋ํด์ ์์๋ณด๊ธฐ 7ํธ (UICo..
ReactorKit ๊ณต๋ถํ๊ธฐ #4 RxTodo ๋ฐ๋ผ์ก๊ธฐ (2) ์ด๋ฒ์๋ ์ง๋ ์๊ฐ create๋ฅผ ํ๋ค๋ฉด, delete๋ฅผ ์งํํด ๋ณผ ์์ . ํด๋น ํ์ผ ๐ฟ ๊ตฌํ ์ฝ๋ ๐ฟ ์ด๋ ค์ ๋ ์ : Action์ ๊ฒฝ์ฐ์๋ ์ ์ํ๊ธฐ๊ฐ ๊ทธ๋ฆฌ ์ด๋ ต์ง ์์์ผ๋, Mutation์ ์ด๋ป๊ฒ ์ค์ผํ ์ง ์๊ฐ์ ๋ง์ดํ์์. // // TaskListViewController.swift // AppleCollectionView // // Created by Hamlit Jason on 2022/09/07. // import UIKit import ReactorKit final class TaskListViewController: UIViewController, View { var disposeBag = DisposeBag() let re..
ReactorKit ๊ณต๋ถํ๊ธฐ #3 RxTodo ๋ฐ๋ผ์ก๊ธฐ (1) ์๋ฌดํผ ReactorKit RxTodo ์์ ๊ณ ๊ณ ์ด๋ฒ์๊ฐ์ ํ๋ ค๊ณ ํ ๊ฒ ์๋ ํด๋๋ก ๊ตฌ์ฑ Service ๋ถ๋ถ์ ํ์ฌ ์์ ๋ฅผ ๊ตฌํํ๊ธฐ์ ๊ทธ๋ ๊ฒ ํ์ํ์ง ์์์ ํจ์ค! ๐ฟ ๊ตฌํ ๐ฟ ์ด์ ๋ฆฌ์กํฐ ์ฌ์ฉ๋ฒ์ด ์ดํด๊ฐ ๋๊ธฐ ์์ํ์! ๋ฆฌ์กํฐ ์ ๋ฆฌ!! ViewController์์ map์ ํตํด ์ํ๋ Action์ผ๋ก ๋ณ๊ฒฝํด์ reactor์ ์ ๋ฌ reactor์์๋ mutateํจ์๋ฅผ ํตํด์ ์ด์ ์ํ๋ฅผ ๋ฐ์์ ๋ค์ ์ํ๋ฅผ ๋ฐํ! reduce๋ ํด๋น ๋ก์ง์ฒ๋ฆฌ! ๊ทธ๋ฆฌ๊ณ ๋ณ๊ฒฝ๋ ๊ฐ์ viewController์์ map์ ํตํด reactor.state๋ฅผ ๊ฐ์ ธ๋ค๊ฐ ์ฌ์ฉํ๊ธฐ! ๐ ViewController // // TaskListViewController.s..