[Weather App] 날씨 앱 만들어보기 (SwiftUI)
CoreLoaction 프레임워크를 통해 현재 위치와 방향을 가져옴
https://developer.apple.com/documentation/corelocation/
Apple Developer Documentation
developer.apple.com
OpenweatherAPI를 이용함
Сurrent weather and forecast - OpenWeatherMap
Access current weather data for any location on Earth including over 200,000 cities! The data is frequently updated based on the global and local weather models, satellites, radars and a vast network of weather stations. how to obtain APIs (subscriptions w
openweathermap.org
경도(longitude), 위도(latitude), API 키를 매개변수로 주어 정보들(날씨, 기온, 바람세기, 습도의 정보를 받아옴)을 가져옴
JSON 형태의 데이터를 디코딩하여사용
출처 git
https://github.com/stephdiep/WeatherApp
GitHub - stephdiep/WeatherApp: Source code for the WeatherApp built in https://youtu.be/X2W9MPjrIbk
Source code for the WeatherApp built in https://youtu.be/X2W9MPjrIbk - GitHub - stephdiep/WeatherApp: Source code for the WeatherApp built in https://youtu.be/X2W9MPjrIbk
github.com
출처 youtube
https://www.youtube.com/watch?v=X2W9MPjrIbk&t=1s