Skip to content

tjana17/WeatherApp-SwiftUI

Repository files navigation

Weather App - SwiftUI


Weather App - SwiftUI is a weather app that uses the OpenWeatherMap API and built with SwiftUI. Get the current weather for current location and check out the 5 day forecast.


Tech Used


  • Designed with MVC architecture
  • Swift 5
  • SwiftUI
  • JSON & Codable
  • ObservableObject
  • OpenWeatherMap API
  • XCode 15


Installation

  1. Clone or download the project to your local machine
  2. Open the project in XCode.
  3. Replace "YOURAPIKEY" with your valid Openweathermap API Key in OpenWeatherAPI.swift

  4.   class OpenWeatherAPI {
    
      var baseURL = "https://api.openweathermap.org/data/2.5"
      let apiKey = "YOURAPIKEY"
    
    
  5. Run the simulator.

Screens


Releases

No releases published

Packages

No packages published

Languages