Return Value 戻り値
YES
if the key-value coding methods should access the corresponding instance variable directly on finding no accessor method for a property, otherwise NO
.
Availability
Technology
@property(class, readonly) BOOL accessInstanceVariablesDirectly;
YES
if the key-value coding methods should access the corresponding instance variable directly on finding no accessor method for a property, otherwise NO
.
The default returns YES
. Subclasses can override it to return NO
, in which case the key-value coding methods won’t access instance variables.