[ ] Publish, Connect, RefCount Share RxSwift
|
|
, 29 2017 . 15:37
+
, !
Understanding Publish, Connect, RefCount and Share in RxSwift.
.
Swift RxSwift. Swift 3.
, , Observable Sequence, . Observer Subscriber.
Connectable Observable RxSwift,
publish, connect, refCount
share
. . :
publish().connect()
-
publish().refcount()
( share()
)
Observables
, hot cold Observables. , Observables .
Observable Active Sequence, Passive Sequence.
- Active Sequence , , -
- Passive Sequence
Passive Sequence , , . Active Sequence web-socket , ,
UITextField
'.
. . /// Observables .
→
https://habrahabr.ru/post/336662/
:
author dolenko_alexey
swift
rxswift