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
'프로젝트 만들어보기' 카테고리의 다른 글
[iOS] TodoList 만들기 2/3 (UserDefaults/didSelectRowAt) (2) | 2022.10.11 |
---|---|
[iOS] TodoList 만들기 1/3 (UIAlertController) (2) | 2022.10.09 |
[iOS] 계산기 만들어보기 (Swift) (2) | 2022.10.06 |
[iOS] LED전광판 만들기 (ViewController끼리 데이터 전달하기 -Segue,Navigation Controller) (0) | 2022.10.04 |
[Swift] 명언생성기 (iOS) (0) | 2022.09.27 |