Created
October 4, 2019 14:39
-
-
Save lawreyios/a9b5190763e453049688e1b6513103dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fileprivate let people: BehaviorRelay<[Person]> = BehaviorRelay(value: [ | |
Person(name: "Spiderman", title: "Marvel"), | |
Person(name: "Batman", title: "DC"), | |
Person(name: "Mickey", title: "Disnet") | |
]) | |
let disposeBag = DisposeBag() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typo error in demo data. It should be
Disney
Person(name: "Mickey", title: "Disney")
By, the way its a simple and neat example for basic RXSwift.