Instance Method

initWithLeftExpressions:rightExpressions:modifier:operators:options:

Initializes and returns a “pop-up-pop-up-pop-up”–style row template.

Declaration

- (instancetype)initWithLeftExpressions:(NSArray<NSExpression *> *)leftExpressions rightExpressions:(NSArray<NSExpression *> *)rightExpressions modifier:(NSComparisonPredicateModifier)modifier operators:(NSArray<NSNumber *> *)operators options:(NSUInteger)options;

Parameters

leftExpressions

An array of NSExpression objects that represent the left side of a predicate.

rightExpressions

An array of NSExpression objects that represent the right side of a predicate.

modifier

A modifier for the predicate (see NSComparisonPredicateModifier for possible values).

operators

An array of NSNumber objects specifying the operator type (see NSPredicateOperatorType for possible values).

options

Options for the predicate (see NSComparisonPredicateOptions for possible values).

Return Value

A row template of the “pop-up-pop-up-pop-up” form, with the left and right pop-ups representing the left and right expression arrays leftExpressions and rightExpressions, and the center pop-up representing the operators.

See Also

Initializing a Template

- initWithLeftExpressions:rightExpressionAttributeType:modifier:operators:options:

Initializes and returns a “pop-up-pop-up-view”–style row template.

- initWithCompoundTypes:

Initializes and returns a row template suitable for displaying compound predicates.