昨天我添加了一個新類,並創建了一個名爲labelDays的IBOutlet。然後我刪除了這個類,現在我得到了這個異常。我認爲這是因爲它正在尋找標籤,但是因爲我刪除了類,所以找不到它。我使用的Xcode 6.NSUnkownkKeyException Xcode
2015-01-09 13:25:25.909 Test App1! [1462:52506] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7fb08bf32000> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key labelDays.'
可能重複的[這是什麼意思? 「'NSUnknownKeyException',原因:...這個類不是密鑰X的編碼兼容鍵值」](http://stackoverflow.com/questions/3088059/what-does-this-mean-nsunknownkeyexception-reason-該級 - 是 - 不鍵) – jtbandes 2015-08-03 06:26:27