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
- Clean Code
- collectionview
- uiscrollview
- combine
- Protocol
- UICollectionView
- rxswift
- 리팩토링
- uitableview
- ribs
- Refactoring
- Human interface guide
- clean architecture
- swiftUI
- Xcode
- map
- 클린 코드
- 애니메이션
- Observable
- MVVM
- tableView
- scrollview
- UITextView
- swift documentation
- 스위프트
- 리펙토링
- RxCocoa
- HIG
- SWIFT
- ios
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