我遇到了使用this tutorial製作的應用程序的問題。Objective-C這個類不是關鍵值findContact的關鍵值編碼。
似乎一切都很好,但是當我建立,有一個錯誤:
2014-08-28 11:49:20.038 techtopiatut[1551:60b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewController 0x8c4dd00> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key findContact.'
如果有人希望看到的項目,它是here。
剛纔意識到引用不會神奇消失。謝謝! – 2014-08-28 10:25:42
@AlanKałuża不客氣。將欣賞一個upvote。但我認爲拉沙德在時間上勝出了我的答案。你可能應該接受他的回答。 – 2014-08-28 10:30:29