
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..
Tech/Troubleshooting
2021. 3. 30. 18:25
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 애니메이션
- Algorithm
- ARC
- Xcode
- swift5
- 문자열
- SWIFT
- rxswift
- 독서
- 책 후기
- objective-c
- 머신러닝
- objc
- 책
- swiftUI
- leetcode
- 책 추천
- iOS SwiftUI
- 스위프트
- Deep learning
- Animation
- ios
- ReactiveX
- stanford SwiftUI
- string
- RX
- 스위프트UI
- 딥러닝
- wwdc
- 알고리즘
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함