Any advice for vending a signal as a property which merges signals which can't be initialized 'till "later"?
Conversation
Vend a RACSubject and subscribe: it to the merged signal when I can make it?
1
Are the mergees coming from within the same module, or a consumer?
1
Same module. Say a view controller; can't make the mergees until DidAppear.
1
Expose a readonly RACSignal, backed by a RACSubject ivar (perhaps with -flatten or something applied to it).
1
1
We 100% avoid readwrite signal properties, and try really hard to avoid subjects except as an implementation detail.
1
1
Yep, thanks. Was planning on r/o RACSignal backed by RACSubject. Was trying to avoid subject as impl detail too! :)
1
2
2
Thoughts on using rac_signalForSelector: as the basis of the signal? Essentially hides the RACSubject 1 level
3
Replying to
Yeah, could definitely do something like that. Not sure it's actually more legible, though.
Replying to


