ios - Objective-C: Grant Subclass Private Variable Access -
ios - Objective-C: Grant Subclass Private Variable Access -
i have class a
has instance variable nsmutablearray *_onlyvisibletosubclassesarray
. grant subclass b
access variable not other class c
not subclass a
.
this @protected
is, default. declare instance variable in interface , visible subclasses , not sibling classes.
ios objective-c subclass instance-variables
Comments
Post a Comment