# RxSwift

## About

Swift версия фреймворка Rx (Reactive Extensions).&#x20;

По факту для работы с интерфейсом Observable. git: [https://github.com/ReactiveX/RxSwift](https://github.com/ReactiveX/RxSwift)

## Что входит

* RxBlocking
* RxCocoa
* RxRelay
* RxSwift
* RxTest

Взаимодействуют они так

![](https://2100114679-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ls6nEJ632aL96Mci8nj%2F-M6jZxwn0B7SSkLzRQ14%2F-M6jbc_QVemGasUbiT3r%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5.png?alt=media\&token=3c1d2a54-6a59-43dd-8e82-c3cd8239f54a)

### Для чего нужны компоненты RxSwift, RxCocoa, RxRelay, ..

* **RxSwift**: The core of RxSwift, providing the Rx standard as (mostly) defined by [ReactiveX](https://reactivex.io). It has no other dependencies.
* **RxCocoa**: Provides Cocoa-specific capabilities for general iOS/macOS/watchOS & tvOS app development, such as Binders, Traits, and much more. It depends on both `RxSwift` and `RxRelay`.
* **RxRelay**: Provides `PublishRelay` and `BehaviorRelay`, two [simple wrappers around Subjects](https://github.com/ReactiveX/RxSwift/blob/master/Documentation/Subjects.md#relays). It depends on `RxSwift`.
* **RxTest** and **RxBlocking**: Provides testing capabilities for Rx-based systems. It depends on `RxSwift`.
