Ok, so in my app I have got two textfields, one label and one button. I manage to get the content of the one textfield to be displayed in the label, but i want to display the content of both of the textfields.
@IBAction func buttonPushed(sender: UIButton) {
Label.text = "\(textfield1.text)"
+ "\(textfield2.text)"The code above is the closest I´ve com, but the Label displays: Optional"whatever i typed in the textfield"Optional"whatever i typed in the textfield"