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

Understanding Hot and Cold Signals in ReactiveCocoa (RAC)

The article explains that in ReactiveCocoa cold signals are plain RACSignal instances that start their work per subscriber, while hot signals are RACSubject (or subclasses) that broadcast a single execution to all observers, and demonstrates converting cold to hot using subjects, multicast operators, and replay helpers such as replayLazily to share network requests.

ColdSignalFunctionalReactiveProgrammingHotSignal
0 likes · 18 min read
Understanding Hot and Cold Signals in ReactiveCocoa (RAC)