<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPredicateEditorRowTemplate/init(leftExpressions:rightExpressions:modifier:operators:options:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPredicateEditorRowTemplate(im)initWithLeftExpressions:rightExpressions:modifier:operators:options:"
  },
  "title" : "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.

```
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

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

[`NSPredicateEditorRowTemplate`](/documentation/AppKit/NSPredicateEditorRowTemplate)

A template that describes available predicates and how to display them.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)