How can i create a NSExpression
with a constant value for using with the PredicateEditor
.
for Example:
the leftExpression should be a string "state", the rightExpression should be as string "Germany"
i've tried:
NSExpression left = new NSExpression(NSExpressionType.ConstantValue);
left.SetValueForKey(new NSString("state"), new NSString("Germany"));
but this does not work. The Programm stops without error!