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

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -