bcParserObjC
1.1
Math Parser for Objective C, iOS and OSX
|
VariableDelegate returns the current value of a variable whose name is given. More...
Inherited by MyVariableDelegate.
Instance Methods | |
(double) | - getVariableValue: |
Return the value of the variable with the given name. | |
VariableDelegate returns the current value of a variable whose name is given.
This is useful for cases where variable values cannot be set before the expression is evaluated because the problem domain may be too big. Using a VariableDelegate that works like a callback, the MathParser can ask for variable values only for those variables that are actually used in the expression. The result is a NSNumber or a NSString.