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
Good question @angela-! It seems logical to me that the closure is used once and discarded (removing any self capture) but I don't know for sure. I will try to profile later and find out
Just a question on the last part of the article, in using self inside the lazy property initialisation.
I'm not sure, but wouldn't that introduce a memory cycle, and rather use
[weak self] in
. Or is that not needed?Thank you :)
The text was updated successfully, but these errors were encountered: