---
title: "init(leftExpressions:rightExpressions:modifier:operators:options:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nspredicateeditorrowtemplate/init(leftexpressions:rightexpressions:modifier:operators:options:)"
---

# init(leftExpressions:rightExpressions:modifier:operators:options:)

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

## Declaration

```swift
init(leftExpressions: [NSExpression], rightExpressions: [NSExpression], modifier: NSComparisonPredicate.Modifier, operators: [NSNumber], options: Int)
```

## Parameters

- `leftExpressions`: An array of doc://com.apple.documentation/documentation/Foundation/NSExpression objects that represent the left side of a predicate.
- `rightExpressions`: An array of doc://com.apple.documentation/documentation/Foundation/NSExpression objects that represent the right side of a predicate.
- `modifier`: A modifier for the predicate (see doc://com.apple.documentation/documentation/Foundation/NSComparisonPredicate/Modifier for possible values).
- `operators`: An array of doc://com.apple.documentation/documentation/Foundation/NSNumber objects specifying the operator type (see doc://com.apple.documentation/documentation/Foundation/NSComparisonPredicate/Operator for possible values).
- `options`: Options for the predicate (see doc://com.apple.documentation/documentation/Foundation/NSComparisonPredicate/Options-swift.struct for possible values).

## Return Value

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

### Related Documentation

- [Predicate Programming Guide](apple-archive/documentation/Cocoa/Conceptual/Predicates/AdditionalChapters/Introduction.html.md)
- [NSPredicateEditorRowTemplate](appkit/nspredicateeditorrowtemplate.md)

### Initializing a Template

- [init(leftExpressions:rightExpressionAttributeType:modifier:operators:options:)](appkit/nspredicateeditorrowtemplate/init(leftexpressions:rightexpressionattributetype:modifier:operators:options:).md)
- [init(compoundTypes:)](appkit/nspredicateeditorrowtemplate/init(compoundtypes:).md)
