반응형
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
- scheduledTimer
- grep
- 연산자
- deeplearning
- ios
- tapply
- Observable
- delegate
- substr
- ReLU
- r
- Upper
- swiftUI
- sigmoid
- SQL
- barplot
- struct
- trunc
- 시각화
- decode
- Optional
- 딥러닝
- Linux
- Python
- rxswift
- MVC
- 명령어
- SWIFT
- cocoapods
- NVL
Archives
목록Networking (1)
iOS 개발 기록 블로그
iOS (Swift) URL Session for Networking
오픈 API를 사용하여 데이터를 받는 것을 Networking이라고 한다. 우리의 APP은 API를 통해 Web Server에 데이터를 요청한다. 우리가 필요한 데이터를 쿼리(Query)를 통해 요청(Request)한다. 웹 서버는 이 쿼리를 해석하고 필요로 하는 데이터를 보내준다. 이를 Response라고 한다. 이러한 일련의 프로세스를 'Networking'이라고 한다. Networking의 단계 Create a URL Create a URLSession Give URLSession a task Start the task WeatherManager.swift 파일 struct WeatherManager { let weatherURL = "https://api.openweathermap.org/data..
iOS
2022. 6. 22. 09:00