DALookupFieldPredicateEditorRowTemplate

Overview

The DALookupFieldPredicateEditorRowTemplate class describes a special template for predicates based on DALookupField.

This kind of predicate editor template creates an editor row that allows users to choose a particular predicate value from the lookup.

For example, if your predicate was built on the 'StatusName' lookup field, inside NSPredicateEditor it will be shown as a row with a popup that holds all possible lookup values from which the user can choose a particular category name as value for this predicate (see picture below).

The DALookupFieldPredicateEditorRowTemplate is already used by the DALookupFieldDefinition class, so you don't need to use it directly.

Location

Instance Methods


initExactWithLookupField:

Initializes an instance of the DALookupFieldPredicateEditorRowTemplate with available values and exact conditions (Equal and Not Equal).

- (id) initExactWithLookupField:(DALookupFieldDefinition *)field

Parameters:

  • field:

initFuzzyWithLookupField:

Initializes an instance of the DALookupFieldPredicateEditorRowTemplate with available values and not exact conditions (Like, Begins With, Ends With, Contains).

- (id) initFuzzyWithLookupField:(DALookupFieldDefinition *)field

Parameters:

  • field:

See Also

  • Filtering Data with NSPredicate
  • Filters Sample (Xcode)
  • Filters (iOS) Sample (Xcode)