I have an Xcode project with a label and a UIAction button. Upon tapping the button, I want the value displayed in the label to increase by 1. The problem is that I can't display the variable "value" in the label, because it's an integer, and the label takes a String data type. Here is the code I have so far:
var value = 0
@IBOutlet var label: UILabel!
@IBAction func button(sender: AnyObject) {
value = value + 1
label.text = value
}