Open LinqLover opened 4 years ago
The example you provided does work, right? It uses #setBefore:after:
. Maybe I don't understand your description correctly.
Sorry for the bad description. #setBefore:after:
removes any previously added blocks. The given example overrides all existing blocks in #setRecordAllObjects
. I am seeking for a protocol that allows me to sequentially add new blocks to the recorder without removing existing ones.
Something like this:
is not going to work as one might expect at the moment. MSR is lacking some protocol such as
#addBefore: aBlock
and#addAfter: aBlock
. This would also be more convenient if you do not want to set both blocks at once.