title: How to output math from a text field? Xcode 6
body: <p>I'm very new to Xcode so excuse my unintelligence. I have an app with a text field and a button. What I am trying to achieve is inputting math into the text field, such as 2+2, and pressing the button to receive the answer, which would be 4.</p>