Tagged articles
2 articles
Page 1 of 1
Meituan Technology Team
Meituan Technology Team
Nov 3, 2015 · Mobile Development

Understanding Cold and Hot Signals in ReactiveCocoa (RAC)

Understanding ReactiveCocoa’s cold and hot signals reveals that each subscription to a cold fetchData signal triggers a separate network request, causing duplicated calls, while converting the signal to hot with shareReplay or publish ensures a single request is shared across UI bindings and error handling.

ColdSignalHotSignalObjective‑C
0 likes · 11 min read
Understanding Cold and Hot Signals in ReactiveCocoa (RAC)