Skip to content

A small app created with MVVM architecture and Swift UI, the open weather api is used to get current weather

Notifications You must be signed in to change notification settings

devwork99/WeatherMVVM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherMVVM

A weather app created with MVVM architecture and Swift UI, the open weather api is used to get current weather

Networking API

Open Weather API to fetch the latest weater

Model

The business objects based on the response from the API, generated the model from quicktyp.io

View / Interface in SwiftUI

weather

ViewModel

The Observable protocol, contains the business logic. The business objects are bound with the view, whenever the value of the obserables change the view gets reloaded.

Networking layer / WebService class

Singleton WebService class implemented that fetch the data from internet, it gets utilised in the ViewModel.

TODO

Adde the option to fetch data from Internet with Async/Await

About

A small app created with MVVM architecture and Swift UI, the open weather api is used to get current weather

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published