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
- Refactoring
- scrollview
- clean architecture
- swift documentation
- Observable
- UICollectionView
- map
- tableView
- rxswift
- 애니메이션
- combine
- Human interface guide
- swiftUI
- 클린 코드
- 리펙토링
- MVVM
- SWIFT
- 리팩토링
- collectionview
- Clean Code
- UITextView
- ios
- 스위프트
- Xcode
- uitableview
- ribs
- Protocol
- RxCocoa
- uiscrollview
- HIG
Archives
- Today
- Total
목록LocalizedError (1)
김종권의 iOS 앱 개발 알아가기
LocalizedError 오류에 대한 발생 이유를 설명하는 오류 프로토콜 해당 프로토콜을 준수하고, computed property인 `public var errorDescription: String?`를 정의하면, 사용하는쪽에서 .localiedDescription사용이 가능 localizedDescription error의 코멘트 역할 LoclizedDescription 활용 방법 Error를 준수하는 타입 정의 enum RegisterError: Error { case invalidEmail case invalidPhoneNumber } 디폴트 localizedDescription는 "The Operation couldn't be completed (...)" print(RegisterError..
iOS 기본 (swift)
2022. 1. 18. 23:45