일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 알고리즘
- swift5
- 책 후기
- RX
- ios
- SWIFT
- string
- Algorithm
- 애니메이션
- 스위프트UI
- Xcode
- objc
- ReactiveX
- wwdc
- 문자열
- Animation
- Deep learning
- rxswift
- 머신러닝
- stanford SwiftUI
- 스위프트
- swiftUI
- 딥러닝
- 독서
- 책
- ARC
- leetcode
- iOS SwiftUI
- objective-c
- 책 추천
Archives
- Today
- Total
목록int (1)
THIS IS ELLIE
동일한 키 다른 타입 디코딩하기
Landmark구조체가 있다고 가정해본다. struct Landmark { var name: String var foundingYear: Int } Landmark에 Codable프로토콜을 채택한다. Codable프로토콜(Decodable, Encodable)을 채택하면 따로 선언하지 않아도 Codable메서드인 init(from: ) 및 encode(to :)를 지원한다. struct Landmark: Codable { var name: String var foundingYear: Int // Landmark now supports the Codable methods init(from:) and encode(to:), // even though they aren't written as part of i..
낑낑/Troubleshooting
2021. 3. 30. 18:25