It is a simple weather application.
This app is developed base on the project https://github.com/jhoansebastianlara/weather-app-swift-3 .
This app using Swift 4 and Xcode 9.
It asks you at the first time for enable location, then using your current location. It will show the weather in your current location. In the tab forecast it shows the forecast for 10days, each day 8 slot times.
- clone source
https://github.com/thanhtungka91/weather.git
- Install pods
$ pod install
- Get API key
openweathermap.org/appid
and update to source code - run app
- Enable location service in simulator "Simulator" -> "Debug" -> "Location" to change the location.
- Search Cities
- Set Timer for request to notify if rains or thunderstorm
- scroll to fresh request api and update view
- Using realm swift for saving database