objective c - ObjC ARC: does a weak property's setter method run when the object is set to nil by ARC? -
really quick question (i test myself not on computer xcode):
if arc sets weak property nil, property's setter run parameter being nil, or property setter bypassed in case?
no. arc doesn't set properties nil. set backing ivar nil, doesn't run setter.
Comments
Post a Comment