Jeder ich diesen Code ausführen es gibt Terminating app due to uncaught exception 'NSUnknownKeyException',setValue:forUndefinedKey:]: this class is not key value coding.'
All Im tut button
zum label
iOS UI Verbindung mit dem Code
class ViewController: UIViewController {
@IBOutlet weak var lable: UILabel!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
@IBAction func button(_ sender: Any) {
lable.text="done"
}
}
Der Fehler Anschluss wird class AppDelegate: UIResponder, UIApplicationDelegate
"Alles, was ich mache, ist der Verbindungsknopf zum Etikett". Was meinst du genau damit? – Adeel