Instance Method

initWithCompoundTypes:

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

Declaration

- (instancetype)initWithCompoundTypes:(NSArray<NSNumber *> *)compoundTypes;

Parameters

compoundTypes

An array of NSNumber objects specifying compound predicate types. See NSCompoundPredicateType for possible values.

Return Value

A row template initialized for displaying compound predicates of the types specified by compoundTypes.

Discussion

NSPredicateEditor contains such a template by default.

See Also

Initializing a Template

- initWithLeftExpressions:rightExpressions:modifier:operators:options:

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

- initWithLeftExpressions:rightExpressionAttributeType:modifier:operators:options:

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