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.