ARC recognizes two types of references:
strong and
weak. Strong references are ones that participate in the reference counting mechanism, and weak references are references that do not participate in reference counting.
While there is more than one way of achieving weak references, the ones that conceptually fit into ARC memory management are zeroing weak references. Zeroing weak references are niled (set to zero) when the object instance they point to is destroy
Weiterlesen...