Contents

attributeKeys

An array of NSString objects containing the names of immutable values that instances of the receiver’s class contain.

Declaration

var attributeKeys: [String] { get }

Discussion

NSObject’s implementation of attributeKeys simply calls [[self classDescription] attributeKeys]. To make use of the default implementation, you must therefore implement and register a suitable class description—see NSClassDescription.

See Also

Working with Class Descriptions