Instance Method

appleEventCodeForKey:

Returns the Apple event code for the specified attribute or relationship in the receiver.

Declaration

- (FourCharCode)appleEventCodeForKey:(NSString *)key;

Parameters

key

The identifying key for an attribute or relationship of the receiver.

Return Value

The four-character Apple event code associated with the attribute or relationship identified by key in the receiver or, if none exists, in the class description for the receiver’s superclass. Returns 0 if no such attribute or relationship is found.

See Also

Getting and comparing Apple event codes

appleEventCode

Returns the Apple event code associated with the receiver’s class.

- matchesAppleEventCode:

Returns a Boolean value indicating whether a primary or secondary Apple event code in the receiver matches the passed code.