by amariottini » 19 Apr 2012, 08:30
Set the property to strong is not always correct.
It is if the object is responsible for the lifecycle of the property, not when, for example, the object receives the property simply as an "helper" object or a delegate.
Strong means the object is responsible to release the property, others simply use it.
Weak means the object will use the property but is not responsible to release it.
Set the property to strong is not always correct.
It is if the object is responsible for the lifecycle of the property, not when, for example, the object receives the property simply as an "helper" object or a delegate.
Strong means the object is responsible to release the property, others simply use it.
Weak means the object will use the property but is not responsible to release it.