Summary
In this chapter, you got a feel for working with RxSwift
code and were introduced to the RxCocoa
library as well. You converted your traditional UI elements to Rx
components, created a computed property, and made it an Observable. Later, you subscribed to events emitted by the computed property to reflect the state of validations in the main View. We achieved a lot in terms of writing code with RxSwift
and a number of things might be unclear at this point—you might have a number of questions regarding Observables, Events, subscribing, subjects, and more. If that's right, then stay tuned, because we will enlarge on all those concepts individually and dissect each in order to acquire a complete understanding.