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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -