Type Method

expressionForVariable:

Returns a new expression that extracts a value from the variable bindings dictionary for a given key.

Declaration

+ (NSExpression *)expressionForVariable:(NSString *)string;

Parameters

string

The key for the variable to extract from the variable bindings dictionary.

Return Value

A new expression that extracts from the variable bindings dictionary the value for the key string.

See Also

Creating an Expression for a Value

+ expressionForConstantValue:

Returns a new expression that represents a given constant value.

+ expressionForEvaluatedObject

Returns a new expression that represents the object being evaluated.

+ expressionForKeyPath:

Returns a new expression that invokes valueForKeyPath: with a given key path.

+ expressionForAnyKey

Returns a new expression that represents any key for a Spotlight query.