Returns a Boolean value indicating whether a primary or secondary Apple event code in the receiver matches the passed code.
SDK
- macOS 10.0+
Framework
- Foundation
Declaration
- (BOOL)matchesAppleEventCode:(Four Char Code)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
.