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

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -