1
I have been studying Swift for some time and now I want to delve into the language and the IOS platform.
I wanted to know more concretely what is the importance and the correct way to use Weak and unowned.
1
I have been studying Swift for some time and now I want to delve into the language and the IOS platform.
I wanted to know more concretely what is the importance and the correct way to use Weak and unowned.
1
These references have to do with the ARC. In practice you’re telling the compiler what kind of reference is that variable so he can avoid circular references.
Typically you have Strong, Weak and unowned.
There is more theory behind this question, but this is the basic.
Browser other questions tagged ios swift mobile
You are not signed in. Login or sign up in order to post.