Closed sebastianludwig closed 8 years ago
The delegate property of RETableViewManager should be weak instead of assign (as delegates should always be). This way it's a retain cycle and any view controller using a RETableViewManager won't ever be deallocated (without taking extra actions).
RETableViewManager
weak
assign
:+1:
My bad, of course assign does not create a retain cycle but the delegate property should be weak anyway to prevent dangling pointers.
The delegate property of
RETableViewManager
should beweak
instead ofassign
(as delegates should always be). This way it's a retain cycle and any view controller using aRETableViewManager
won't ever be deallocated (without taking extra actions).