Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 972 Bytes

README.md

File metadata and controls

37 lines (32 loc) · 972 Bytes

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