Let’s understand [weak self], [unowned self] , and weak var ProblemWhen I encountered closures and delegate for the first time, I’ve noticed people put [weak self] in closures and weak var in front a delegate property. I’ve wondered why. PrerequisiteThis isn’t a tutorial for beginners. The following list is what I expect from my readers to know. How to pass data between view controllers with Deleg
![Swift Retention Cycle in Closures and Delegate | by Bob Lee | Bob the Developer](https://cdn-ak-scissors.b.st-hatena.com/image/square/485a7b27d1ea9f9e1a8cc038aabaa89f7e1596af/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fmax%2F1200%2F1%2AG9ICr1PGK9UexE3uAnavOQ.png)