반응형
Notice
Recent Posts
Recent Comments
Link
- Today
- Total
07-05 05:44
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- ios
- MVC
- scheduledTimer
- 시각화
- r
- 연산자
- delegate
- substr
- barplot
- rxswift
- sigmoid
- swiftUI
- 딥러닝
- deeplearning
- cocoapods
- trunc
- ReLU
- NVL
- Linux
- SWIFT
- decode
- SQL
- tapply
- Upper
- struct
- Observable
- Optional
- 명령어
- grep
- Python
Archives
목록Computed Properties (1)
iOS 개발 기록 블로그
iOS (Swift) 리펙토링(Refactoring)과 Computed Properties 이해하기
iOS (Swift) JSON 디코딩(Decoding) func performRequest(urlString: String) { //1. Create a URL if let url = URL(string: urlString) { //2. Create a URLSession let session = URLSession(configuration: .default) //3. Giv.. crazydeer.tistory.com 지난 글에 이어 JSON을 정리하면서 MVC 디자인 패턴으로 바꾸고 그 과정에서 Computed Properties도 이해해보자. OpenWeatherAPI 문서가 제공하는 json 예시다. 여기에 id는 날씨 상태를 말하는데 이에 따라 아이콘이 변화하도록 해볼 것이다. Weather co..
iOS
2022. 6. 25. 09:00