Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Protocol
- Clean Code
- rxswift
- 리펙터링
- uiscrollview
- swiftUI
- ios
- RxCocoa
- 리펙토링
- tableView
- 리팩토링
- 클린 코드
- Xcode
- HIG
- map
- Observable
- SWIFT
- collectionview
- swift documentation
- Human interface guide
- clean architecture
- combine
- MVVM
- ribs
- 애니메이션
- uitableview
- 스위프트
- UITextView
- UICollectionView
- Refactoring
Archives
- Today
- Total
목록Dependency Inject (1)
김종권의 iOS 앱 개발 알아가기
[iOS - Swift] 1. 유닛 테스트 방법 - Dependency Injection (@Injected) 주입 구조
1. 유닛 테스트 방법 - Dependency Injection (@Injected) 주입 구조 Any]로 선언한 이유는 lazy하게 인스턴스들이 동작되도록 하기 위함 클로저의 특성 - 실행 지연이 가능 // https://medium.com/streamotion-tech-blog/magic-dependency-injection-in-swift-70476c7743ec public class DependencyStore { #if DEBUG public static var shared = DependencyStore() #else public static let shared = DependencyStore() #endif public init() {} /// A map of `identifier(for:)..
iOS 응용 (swift)
2022. 12. 10. 22:36