How can I assign a UILabel in my app with an NSString expression? My attempt was:
@IBOutlet weak var imput: UILabel!
@IBOutlet weak var output: UILabel!
...
...
...
@IBAction func equal(sender: AnyObject) {
calculate = NSExpression(format: imput.text!)
output = calculate.expressionValueWithObject(nil, context: nil) as! UILabel
}