ios - iVars references strong, weak or what? -
in obj-c, properties can configured weak/strong. instance variables. following -
@interface myclass { nsobject *a; }
does myclass's object keep weak reference a
or strong, or else? think ivar not released until object released. why don't specify weak/strong ivar properties?
the default reference ivar __strong
, though can explicitly set __weak
or __strong
Comments
Post a Comment