Contents

isEquivalentToPresentationIntent:

Returns a Boolean value that indicates whether the current intent is equivalent to the specified intent.

Declaration

- (BOOL) isEquivalentToPresentationIntent:(NSPresentationIntent *) other;

Parameters

  • other:

    The other intent to use in the comparison.

Return Value

true if the current intent is equivalent to the specified intent, or false if it isn’t.

Discussion

Two intents are equivalent if their attributes match. This method doesn’t consider the identity property of the intents when determining their equivalence.

See Also

Getting the intent identity