Defines the possible types of NSExpression.


enum ExpressionType : UInt



case constantValue

An expression that always returns the same value.

case evaluatedObject

An expression that always returns the parameter object itself.

case variable

An expression that always returns whatever value is associated with the key specified by ‘variable’ in the bindings dictionary.

case keyPath

An expression that returns something that can be used as a key path.

case function

An expression that returns the result of evaluating a function.

case unionSet

An expression that creates a union of the results of two nested expressions.

case intersectSet

An expression that creates an intersection of the results of two nested expressions.

case minusSet

An expression that combines two nested expression results by set subtraction.

case subquery

An expression that filters a collection using a subpredicate.

case aggregate

An expression that defines an aggregate of NSExpression objects.

case anyKey

An expression that represents any key.

case block

An expression that uses a Block.

Enumeration Cases

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software