Instance Method

evaluateWithObject:

Returns a Boolean value indicating whether the specified object matches the conditions specified by the predicate.

Declaration

- (BOOL)evaluateWithObject:(id)object;

Parameters

object

The object against which to evaluate the predicate.

Return Value

YES if object matches the conditions specified by the predicate, otherwise NO.

See Also

Evaluating a Predicate

- evaluateWithObject:substitutionVariables:

Returns a Boolean value indicating whether the specified object matches the conditions specified by the predicate after substituting in the values in a given variables dictionary.

- allowEvaluation

Forces a predicate that was securely decoded to allow evaluation.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software