Need help with ReactiveWeatherExample?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

marinbenc
201 Stars 36 Forks MIT License 41 Commits 1 Opened issues

Description

A simple iOS weather app using the MVVM pattern and RxSwift framework.

Services available

!
?

Need anything else?

Contributors list

# 164,883
google-...
JavaScr...
Android
iOS
30 commits
# 501,570
HTML
CSS
1 commit

ReactiveWeatherExample

A simple iOS weather app using the MVVM pattern and RxSwift framework.

How it works

There's a UITextField in the ViewController which sets a searchText property in the ViewModel once it's changed. The ViewModel then iniates a JSON request for weather data from openweathermap.org, and creates a new Weather object, which acts as the model.

Once the Weather object is set, properties in the ViewModel are set accordingly. Since outlets in the ViewController are bound to properties in the ViewModel, they get set automatically.

RxSwift: https://github.com/ReactiveX/RxSwift
OpenWeatherMap: https://openweathermap.org Alamofire: https://github.com/Alamofire/Alamofire

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.