NSComparisonPredicate
A specialized predicate for comparing expressions.
Declaration
class NSComparisonPredicateOverview
Use comparison predicates to compare the results of two expressions. You create a comparison predicate with an operator, a left expression, and a right expression, and use instances of the NSExpression class to represent those expressions. When you evaluate the predicate, it returns a BOOL value as the result of invoking the operator with the results of evaluating the expressions.
Topics
Creating Comparison Predicates
Displaying searchable content by using a search controllerinit(leftExpression:rightExpression:customSelector:)init(leftExpression:rightExpression:modifier:type:options:)init(coder:)