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

class var accessInstanceVariablesDirectly: Bool { get }

Return Value

true if the key-value coding methods should access the corresponding instance variable directly on finding no accessor method for a property, otherwise false.

Discussion

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