Outlet接続時のエラー
2013-12-11
こんなエラーが出たら要注意
Terminating app due to uncaught exception ‘NSUnknownKeyException’, reason: ‘[<ViewController 0x8d86cb0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key
①ヘッダファイルのアウトレット接続を間違える
②ヘッダファイルのアウトレットを削除
そんな場合に発生します。
③ストーリーボード上のViewControllerからもアウトレットを削除して下さい。
←「NSLogの使い方」前の記事へ 次の記事へ「@property,@synsesizeの使い方」→