ReactiveCocoa / ReactiveSwift

Streams of values over time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Looking fo best practices for Signal creation.

nservidio opened this issue · comments

Hi! Thanks again for creating ReactiveSwift! I've searched around a bit online and can't find what I'm looking for.

The APIContracts used to include this best practice.

My question is: should pipe() be avoided for the same reasons that RACSubject should be avoided?

Thanks!

Have you tried making the observer private/fileprivate and have the signal public? This way you control the signal and nobody else.

Hello. 👋 Thanks for opening this issue. Due to inactivity, we will soft close the issue. If you feel that it should remain open, please let us know. 😄