gustavochx / movieRxSwift

Example of how use MVVM with RxSwift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

movieRxSwift

  • Example using The Movie DB API with MVVM, more specific the frameworks: RxSwift and RxCocoa.

Swift Xcode Xcode

Requirements

  • macOS 10.14 Mojave
  • Xcode 10.2
  • iOS 12

Getting Started

RxSwift keys:

  • Observable: It’s a sequence of data that we can apply transformation, then observe/subscribe to.
  • Subject: It’s a sequence of data like the observable, but we can also publish next value to the subject
  • Driver: It’s the same as observable, but in this case it will be guaranteed to be scheduled to run on main thread.
  • BehaviorRelay: It’s a specialized Subject that we can use to set and get value like a normal variable.

About

Example of how use MVVM with RxSwift


Languages

Language:Swift 98.9%Language:Ruby 1.1%