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
Then you combine the subject in the most appropriate manner, and make sure to -sendCompleted upon dealloc.
1
Is Obj-C RAC2 being “deprecated” and is now in maintenance mode, with all attention switching to Swift 3.0?
1
Show replies


