Skip to content
A simple iOS weather app using the MVVM pattern and RxSwift framework.
Branch: master
Clone or download
marinbenc Merge pull request #4 from jengelsma/master
Added missing image code.
Latest commit 4260b40 Sep 30, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Pods
WhatsTheWeatherIn.xcodeproj
WhatsTheWeatherIn.xcworkspace
WhatsTheWeatherIn Added missing image code. Sep 30, 2016
WhatsTheWeatherInTests
WhatsTheWeatherInUITests Initial Commit Oct 3, 2015
LICENSE Initial commit Oct 22, 2015
Podfile updated to RxSwift 2.0 beta Oct 28, 2015
Podfile.lock updated podfile Jun 20, 2016
README.md

README.md

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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.