ReactiveCocoa OperatorsHai Feng Kao
Quiz 1What does MVVM stand for?
Quiz2What are the advantages of MVVM?
Quiz 3
What is the speaker’s name?
ReactiveCocoa OperatorsHai Feng Kao
Hot n Cold
• Hot Signal• sends values regardless of
whether it has any subscribers
• but only send values after their their subscription time.
• Cold Signal• defers its work and the
sending of any values until it has a subscriber
Cold Signal Example
Hot Signal Example
skip
• RACObserve sends the current value immediately
distinctUntilChanged
combineLatest:reduce:
Hot n Cold• Hot Signal
• sends values regardless of whether it has any subscribers
• but only send values after their their subscription time.
• Cold Signal• defers its work and the sending
of any values until it has a subscriber
Cold Signal Example
replay (another example)
replayLazily (another example)
same as replay
replayLast (another example)