A text field contains mathematical expressions like: 12+45-6 Is possible to convert this string to a number?
12+45-6
Can we use the predicate facility?
Yes. Read up on "expression evaluation", or use a ready-made script interpreter. JavaScript is available to all iOS programs as a part of WebView.