.
, @private , . , , , ( ).
@protected , . . , , Objective C setter getter . @protected .
@public . , , /, - . , , .
, @public - C.
You can, of course, not define any accessories for the class variable because they are internal to the class or because you declare it as @public, but since Objective-C makes it easy to prototype them @propertyand @synthesizeit doesn't make much sense. Class internal variables do not need setters / getters, because any class method can access them directly.
source
share