Why the weak and non-crops still confuse the developers iOS seniors | by the developer of mobile applications | August 2025
The arc is supposed to make memory management simple. So why even the senior developers still stumble weak against unowned? Let’s decompose it with real bugs, funny errors and lessons that you will never forget.
I still remember the moment.
We examined a traction request and someone had written:
weak var delegate: LoginDelegate?
Another development immediately jumped:
“Why not do it
unowned? The delegate will always exist anyway.
Then someone else said:
“No, use
weak. Sure. “”
And suddenly we had three senior iOS developers who were arguing two keywords who was supposed simplify Memory management.
This is where it struck me: even after years of experience, weak And unowned Always confuse us. For what? Because difference is not only a question of syntax – this is the way we Predict the lifetime of objectsin which humans are famous.
Crétons.
News
Berita
News Flash
Blog
Technology
Sports
Sport
Football
Tips
Finance
Berita Terkini
Berita Terbaru
Berita Kekinian
News
Berita Terkini
Olahraga
Pasang Internet Myrepublic
Jasa Import China
Jasa Import Door to Door