Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NSExpressionMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class iCloud MBS MacCloud Plugin 11.3 Yes No No Yes, macOS only No
Function: NSExpression is used to represent expressions in a predicate.
Notes:
Comparison operations in an NSPredicate are based on two expressions, as represented by instances of the NSExpression class. Expressions are created for constant values, key paths, and so on.

Generally, anywhere in the NSExpression class hierarchy where there is composite API and subtypes that may only reasonably respond to a subset of that API, invoking a method that does not make sense for that subtype will cause an exception to be thrown.

See NSException class documentation on apple.com.

Feedback, Comments & Corrections

Expression Type Constants

Constant Value Description
NSAggregateExpressionType 14 An expression that defines an aggregate of NSExpression objects.
Available in Mac OS X v10.5 and later.
NSBlockExpressionType 19 An expression that uses an Block.
Available in Mac OS X v10.6 and later.
NSConstantValueExpressionType 0 An expression that always returns the same value.
Available in Mac OS X v10.4 and later.
NSEvaluatedObjectExpressionType 1 An expression that always returns the parameter object itself.
Available in Mac OS X v10.4 and later.
NSFunctionExpressionType 4 An expression that returns the result of evaluating a function.
Available in Mac OS X v10.4 and later.
NSIntersectSetExpressionType 6 An expression that creates an intersection of the results of two nested expressions.
Available in Mac OS X v10.5 and later.
NSKeyPathExpressionType 3 An expression that returns something that can be used as a key path.
Available in Mac OS X v10.4 and later.
NSMinusSetExpressionType 7 An expression that combines two nested expression results by set subtraction.
Available in Mac OS X v10.5 and later.
NSSubqueryExpressionType 13 An expression that filters a collection using a subpredicate.
Available in Mac OS X v10.5 and later.
NSUnionSetExpressionType 5 An expression that creates a union of the results of two nested expressions.
Available in Mac OS X v10.5 and later.
NSVariableExpressionType 2 An expression that always returns whatever value is associated with the key specified by ‘variable' in the bindings dictionary.
Available in Mac OS X v10.4 and later.

This class has no sub classes.

Some methods using this class:


The items on this page are in the following plugins: MBS MacCloud Plugin.


NSExceptionMBS   -   NSFileCoordinatorMBS




Links
MBS Xojo Chart Plugins