Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSExpressionMBS class.
NSExpressionMBS.expressionForAggregate(subexpressions() as NSExpressionMBS) as NSExpressionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | iCloud | MBS MacCloud Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
collection: A collection object that contains further expressions.
Returns a new expression that contains the expressions in collection.
NSExpressionMBS.expressionForConstantValue(value as Variant) as NSExpressionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | iCloud | MBS MacCloud Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
obj: The constant value the new expression is to represent.
Returns a new expression that represents the constant value, obj.
Available in Mac OS X v10.4 and later.
NSExpressionMBS.expressionForEvaluatedObject as NSExpressionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | iCloud | MBS MacCloud Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in Mac OS X v10.4 and later.
NSExpressionMBS.expressionForFunction(FunctionName as string, arguments() as Variant) as NSExpressionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | iCloud | MBS MacCloud Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
name: The name of the function to invoke.
parameters: An array containing NSExpression objects that will be used as parameters during the invocation of selector.
For a selector taking no parameters, the array should be empty. For a selector taking one or more parameters, the array should contain one NSExpression object which will evaluate to an instance of the appropriate type for each parameter.
If there is a mismatch between the number of parameters expected and the number you provide during evaluation, an exception may be raised or missing parameters may simply be replaced by nil (which occurs depends on how many parameters are provided, and whether you have over- or underflow).
Returns a new expression that invokes the function name using the parameters in parameters.
The name parameter can be one of the following predefined functions.
See NSExpression class documentation on apple.com for details.
NSExpressionMBS.expressionForIntersectSet(LeftExpression as NSExpressionMBS, rightExpression as NSExpressionMBS) as NSExpressionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | iCloud | MBS MacCloud Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
LeftExpression: An expression that evaluates to an NSSet object.
rightExpression: An expression that evaluates to a collection object (an instance of NSArray, NSSet, or NSDictionary).
Returns a new NSExpression object that represents the intersection of left and right.
Available in Mac OS X v10.5 and later.
NSExpressionMBS.expressionForKeyPath(name as string) as NSExpressionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | iCloud | MBS MacCloud Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
keyPath: The key path that the new expression should evaluate.
Returns a new expression that invokes valueForKeyPath: with keyPath.
Available in Mac OS X v10.4 and later.
NSExpressionMBS.expressionForMinusSet(LeftExpression as NSExpressionMBS, rightExpression as NSExpressionMBS) as NSExpressionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | iCloud | MBS MacCloud Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
LeftExpression: An expression that evaluates to an NSSet object.
rightExpression: An expression that evaluates to a collection object (an instance of NSArray, NSSet, or NSDictionary).
Returns a new NSExpression object that represents the subtraction of right from left.
Available in Mac OS X v10.5 and later.
NSExpressionMBS.expressionForUnionSet(LeftExpression as NSExpressionMBS, rightExpression as NSExpressionMBS) as NSExpressionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | iCloud | MBS MacCloud Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
LeftExpression: An expression that evaluates to an NSSet object.
rightExpression: An expression that evaluates to a collection object (an instance of NSArray, NSSet, or NSDictionary).
Returns an new NSExpression object that represents the union of left and right.
Available in Mac OS X v10.5 and later.
NSExpressionMBS.expressionForVariable(name as string) as NSExpressionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | iCloud | MBS MacCloud Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
name: The key for the variable to extract from the variable bindings dictionary.
Returns a new expression that extracts from the variable bindings dictionary the value for the key string.
Available in Mac OS X v10.4 and later.
NSExpressionMBS.expressionWithFormat(format as string) as NSExpressionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | iCloud | MBS MacCloud Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
NSExpressionMBS.expressionWithFormat(format as string, arguments() as Variant) as NSExpressionMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | iCloud | MBS MacCloud Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
The items on this page are in the following plugins: MBS MacCloud Plugin.