ios - custom NSExpression functions like sin(x) -


i know how add custom functions nsnumber nsexpression work it. use need declarate string "function(1, 'sin')". is way declarate "sin(1)"?

no, cannot extend syntax understood nsexpression(format:).

for advanced expression parsing , evaluating, use 3rd party solutions such ddmathparser.


Comments

Popular posts from this blog

python - Alternative to referencing variable before assignment -

vb.net - How to ignore if a cell is empty nothing -

Sort a complex associative array in PHP -