When object A retains object B, and object B retains A. Then Retain cycle happens. To overcome this use "close" method. Objective-C's garbage collector (when enabled) can also delete retain-loop groups but this is not relevant on the iPhone, where Objective-C garbage collection is not supported.
Liked By
Write Answer
Retain cycle or Retain loop
Join MindStick Community
You have need login or register for voting of answers or question.
Tarun Kumar
03-Nov-2015Objective-C's garbage collector (when enabled) can also delete retain-loop groups but this is not relevant on the iPhone, where Objective-C garbage collection is not supported.