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 | 29 | 30 | 31 |
Tags
- RxCocoa
- collectionview
- UICollectionView
- Xcode
- rxswift
- map
- uiscrollview
- Human interface guide
- Refactoring
- UITextView
- clean architecture
- 스위프트
- MVVM
- 리팩토링
- Observable
- swift documentation
- swiftUI
- tableView
- combine
- uitableview
- HIG
- 애니메이션
- Clean Code
- 리펙토링
- ribs
- SWIFT
- Protocol
- 클린 코드
- ios
- 리펙터링
Archives
- Today
- Total
목록2022/12/20 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - Swift] 4. Build Setting 개념 - ENABLE_TESTABILITY, Enable Testability, @testable import
목차) Build Setting 목차 링크 ENABLE_TESTABILITY 해당 Target의 Enable Testablility를 활성화하면 테스트하는 쪽에서 @testable import를 사용하여 internal인 타겟도 테스트 코드에서 접근이 가능 Xcode에서는 Target > Build Settings > ENABLE_TESTABILITY에서 Yes로 활성화 Debug는 디폴타 값이 Yes 예시 ViewController는 internal 키워드이므로 다른 모듈에서 접근이 불가 ExTestableTests는 ViewController이 있는 모듈이 아니지만 @testable import ExTestable를 통해 사용 만약 Debug를 No로 설정하면? 접근 불가 * 참고 https://de..
iOS 응용 (swift)
2022. 12. 20. 23:22