Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,如何将 cell.rac_prepareForReuseSignal 转换为信号?
levelSignal |> takeUntil( doSomeThingTo(cell.rac_prepareForReuseSignal) ) |> observe(next: { level in ... })
你为什么要改造它Signal?Signal是热的,已经订阅,而RACSignal通常是冷的,只准备订阅。
Signal
RACSignal
您可能宁愿将其转换为SignalProducer, 所以使用toSignalProducer方法。
SignalProducer
toSignalProducer
这是有关这些转换的官方文档