Sobes.tech
Junior — Middle

Will an instance of an object be constructed if it lacks a strong reference?

sobes.tech AI

Answer from AI

In iOS, if an object does not have strong references, it will not be retained in memory, and ARC (Automatic Reference Counting) will immediately delete it. That is, an instance of an object will not exist if there is no at least one strong reference to it. Weak or unowned references do not retain the object in memory and do not prevent its deallocation.

Will an instance of an object be constructed if it… - sobes.tech