Contents

init(leftExpression:rightExpression:customSelector:)

Creates a predicate that you form by combining specified left and right expressions using a specified selector.

Declaration

init(leftExpression lhs: NSExpression, rightExpression rhs: NSExpression, customSelector selector: Selector)

Parameters

  • lhs:

    The left hand expression.

  • rhs:

    The right hand expression.

  • selector:

    The selector to use. The method defined by the selector must take a single argument and return a BOOL value.

Return Value

The receiver, initialized by combining the left and right expressions using selector.

See Also

Creating Comparison Predicates