Type Property

accessInstanceVariablesDirectly

Returns a Boolean value that indicates whether the key-value coding methods should access the corresponding instance variable directly on finding no accessor method for a property.

Declaration

@property(class, readonly) BOOL accessInstanceVariablesDirectly;

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.

Discussion

The default returns YES. Subclasses can override it to return NO, in which case the key-value coding methods won’t access instance variables.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software