Given an Apple event code that identifies a property or element class, returns the key for the corresponding attribute, one-to-one relationship, or one-to-many relationship.
- macOS 10.0+
An Apple event code that identifies a property or element class.
The key that corresponds to the property or element class identified by
apple in the receiver or, if none exists, in a class description in the receiver’s superclasses.
The four-character Apple event code associated with the attribute or relationship identified by
0 if no such attribute or relationship is found. Returns
nil if it cannot find any such attribute or relationship.