Sample weather application developed using Swift & OpenWeatherMap which displays the data of weather for current location using GPS & also able to search data for specific city.
- Support dark mode
- Handle UITextField
- HTTP request with URLSession
- JSON parse with JSONDecoder
- Support AutoLayout
- Request user permission to access location
- Use CoreLocation to get GPS data
Before run the project, you need to signIn & get an API key from OpenWeatherMap. Then change weatherURl inside weatherManager file with your API key.
let weatherURL = "https://api.openweathermap.org/data/2.5/weather?appid={API_Key}&units=metric"