Enumeration

NSPredicateOperatorType

Defines the type of comparison for NSComparisonPredicate.

Declaration

typedef enum NSPredicateOperatorType : NSUInteger {
    ...
} NSPredicateOperatorType;

Topics

Constants

NSLessThanPredicateOperatorType

A less-than predicate.

NSLessThanOrEqualToPredicateOperatorType

A less-than-or-equal-to predicate.

NSGreaterThanPredicateOperatorType

A greater-than predicate.

NSGreaterThanOrEqualToPredicateOperatorType

A greater-than-or-equal-to predicate.

NSEqualToPredicateOperatorType

An equal-to predicate.

NSNotEqualToPredicateOperatorType

A not-equal-to predicate.

NSMatchesPredicateOperatorType

A full regular expression matching predicate.

NSLikePredicateOperatorType

A simple subset of the MATCHES predicate, similar in behavior to SQL LIKE.

NSBeginsWithPredicateOperatorType

A begins-with predicate.

NSEndsWithPredicateOperatorType

An ends-with predicate.

NSInPredicateOperatorType

A predicate to determine if the left hand side is in the right hand side.

NSCustomSelectorPredicateOperatorType

A predicate that uses a custom selector that takes a single argument and returns a BOOL value.

NSContainsPredicateOperatorType

A predicate to determine if the left hand side contains the right hand side.

NSBetweenPredicateOperatorType

A predicate to determine if the left hand side lies at or between bounds specified by the right hand side.

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