Instance Method

matchesAppleEventCode:

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

Declaration

- (BOOL)matchesAppleEventCode:(FourCharCode)appleEventCode;

Parameters

appleEventCode

An Apple event code to compare against the receiver’s primary or secondary codes.

Return Value

YES if the receiver’s primary four-character Apple event code or any of its secondary codes (its synonyms) matches code; otherwise, NO.

See Also

Getting and comparing Apple event codes

appleEventCode

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

- appleEventCodeForKey:

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