Weather App is a simple app to see your local forecast
This app was built during a basic iOS development course to learn a bit of Swift using UIKit to build its UI. As this is a beginner app, we have much to improve.
$ git clone https://github.com/carolribeiro2112/Weather-App
Then go to your Xcode and select the Weather App project. To see it running on the emulator press the start button (looks like a play button).
To run correctly the app you will need an API key from the https://openweathermap.org/api/one-call-3, so you will need an account to get your API key. After you make your account and get the API key, you need to go to the Service.swift file and put your API key on:
private let apiKey: String = "your api key"
Then to see your city forecast you will need to go to the ViewController file and change this variable:
private var city = City(lat: "latitude of your city", lon: "longitude of your city", name: "Your city name")
- Separate the ViewController into smaller components.
- Get user location dynamically using GPS.
- Add tests to the project