/WeatherSwiftUI

Implementation of the Weather app using SwiftUI and OpenWeather API.

Primary LanguageSwiftMIT LicenseMIT

WeatherSwiftUI

This application is a SwiftUI implementation of the iOS Weather app. All the background images of the iOS Weather app are not present at the moment, this could be a future improvement of this project. The app runs on iOS, macOS and iPadOS. The project will evolve with the different betas of Xcode and SwiftUI.

Architecture

The project fits currently the MVVM pattern. As the project follows the different SwiftUI tutorials from Apple, ViewModels are called Datas.

API

WeatherSwiftUI uses the OpenWeather API to fetch weather datas. It uses a free API key thereby it only has a 3 hours and 5 days forecast.

SwiftUI

WeatherSwiftUI tries to be in pure SwiftUI but I had to use some UIKit (UIViewControllerRepresentable) for the PageViewController.