You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love your declarative API approach. I had a similar one on larger scale but noticed many retain cycles with due to closures.
In fact, in your example, you created a retain cycle on the deleteClosure too.
I love your declarative API approach. I had a similar one on larger scale but noticed many retain cycles with due to closures.
In fact, in your example, you created a retain cycle on the deleteClosure too.
Changing the closure to the following fixed it:
However, passing closures this way is less convenient but I couldn't find another way to solve retain cycles.
Any idea of how this could be improved?
The text was updated successfully, but these errors were encountered: