@property () type prop_name is just a signal to the compiler to create two methods:
- (type) propName;
and
- (void) setPropName; // Not created for readonly properties
In objective-C, all methods are publicly available. Therefore, all properties are publicly available.
source share