class ViewController: UIViewController {
@IBOutlet var nameField : UITextField!
@IBOutlet var happnessField : UITextField!
@IBAction func add() {
let name = nameField.text
let happness = happnessField
print("eaten \(name) with happiness \(happiness)!")
A última linha está dando erro .