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 |
Tags
- 리펙토링
- collectionview
- 스위프트
- Clean Code
- Protocol
- HIG
- map
- UITextView
- combine
- ios
- uiscrollview
- Refactoring
- 리팩토링
- tableView
- 리펙터링
- RxCocoa
- Xcode
- Observable
- SWIFT
- Human interface guide
- ribs
- uitableview
- MVVM
- swift documentation
- clean architecture
- UICollectionView
- 클린 코드
- rxswift
- swiftUI
- 애니메이션
Archives
- Today
- Total
목록코더블 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swfit] Codable 사용방법 (Encode, Decode)
Codable이란? Encodable + Decodable 두 속성 모두 가지고 있는 타입 Encodable: 스위프트의 struct구조의 "객체"를 "json형식"으로 변한 하는 것 (Binary Data로 변환) Decodable: "json형식"을 "객체"로 변환 필요한 이유: 서버와 통신할 경우, 객체 그대로를 보내지 / 받지 않고, Binary Data로 통신 Encode swift의 struct객체 -> Binary Data (json형) struct정의 struct Person: Codable { var name: String var age: Int var birthDate: Date } Encode_ Binary데이터 변환 // create let person = Person(name: "..
iOS 응용 (swift)
2020. 10. 18. 16:48