Protocol

NSRuleEditorDelegate

The NSRuleEditorDelegate protocol defines the optional methods implemented by delegates of NSRuleEditor objects.

Symbols

Providing Data

func ruleEditor(NSRuleEditor, child: Int, forCriterion: Any?, with: NSRuleEditorRowType)
Required.

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

func ruleEditor(NSRuleEditor, displayValueForCriterion: Any, inRow: Int)
Required.

Returns the value for a given criterion.

func ruleEditor(NSRuleEditor, numberOfChildrenForCriterion: Any?, with: NSRuleEditorRowType)
Required.

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

func ruleEditor(NSRuleEditor, predicatePartsForCriterion: Any, withDisplayValue: Any, inRow: Int)

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

Monitoring Row Changes

func ruleEditorRowsDidChange(Notification)

Notifies the receiver that a rule editor’s rows changed.

Relationships

Inherits From