Blocks, Operations, and Retain Cycles

Conrad Stoll (via Jonathan Penn): What we had to do is just make the operation referenced by the block into a weak reference. That way, the block isn’t holding onto the operation, it just has a weak reference to it. It’s worth pointing out that pre-ARC, __block was sufficient to prevent a retain cycle. But … Continue reading Blocks, Operations, and Retain Cycles