Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.17 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.17 KB

Weather SwiftUI

screenshot1

An application for iOS that shows the weather, supports geolocation, there is a choice of cities. Asynchronous display of data on one screen. Application uses interactive Lottie Animations lottiefiles.com. Application uses API Open Weather openweathermap.org

Application provides the following weather data for any geographical coordinates:

  • Current weather
  • Hourly forecast for 48 hours
  • Daily forecast for 7 days
  • Animation weather

Technology

  • SwiftUI
  • View Composition
  • Using UIKit Components in SwiftUI
  • MVVM
  • Using Combine to Publish and Observe Async Responses
  • Passing Observable and Observed Objects
  • Generic Network API Calls
  • Use of Result Type
  • Lottie Animation
  • Fetching Coordinates from Address
  • Swift Package Manager
  • Date and Time Formatter

Requirements

  • iOS 13.0
  • Xcode 12.0
  • Swift 5.3

Install

  1. Open project
  2. Register on the site https://openweathermap.org
  3. Create API key https://home.openweathermap.org/api_keys
  4. Insert your API key to let key = "" file API.swift
  5. Run app