bcParserObjC  1.1
Math Parser for Objective C, iOS and OSX
 All Classes Functions Variables Properties Pages
Instance Methods | List of all members
<VariableDelegate> Protocol Reference

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.
 

Detailed Description

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.


The documentation for this protocol was generated from the following file: