Type Alias

NSRuleEditorPredicatePartKey

These strings are used as keys to the dictionary returned from the delegate’s ruleEditor:predicatePartsForCriterion:withDisplayValue:inRow: optional method. To construct a valid predicate, the union of the dictionaries for each item in the row must contain the required parts.

Declaration

typedef NSString *NSRuleEditorPredicatePartKey;

Topics

Predicate Part Keys

NSRuleEditorPredicateComparisonModifier

The corresponding value is an NSNumber object representing a NSComparisonPredicateModifier constant the of the predicate.

NSRuleEditorPredicateCompoundType

The corresponding value is an NSNumber object representing a NSCompoundPredicateType constant.

NSRuleEditorPredicateCustomSelector

The corresponding value is an NSString object representing a custom selector.

NSRuleEditorPredicateLeftExpression

The corresponding value is an NSExpression object representing the left expression in the predicate.

NSRuleEditorPredicateOperatorType

The corresponding value is an NSNumber object representing a NSPredicateOperatorType constant.

NSRuleEditorPredicateOptions

The corresponding value is an NSNumber object representing a NSComparisonPredicate_Optionsbitfield.

NSRuleEditorPredicateRightExpression

The corresponding value is an NSExpression object representing the right expression in the predicate.

See Also

Providing Data

- ruleEditor:child:forCriterion:withRowType:

Returns the child of a given item at a given index.

Required.

- ruleEditor:displayValueForCriterion:inRow:

Returns the value for a given criterion.

Required.

- ruleEditor:numberOfChildrenForCriterion:withRowType:

Returns the number of child items of a given criterion or row type.

Required.

- ruleEditor:predicatePartsForCriterion:withDisplayValue:inRow:

Returns a dictionary representing the parts of the predicate determined by the given criterion and value.