Value of type ***** has no member 'xx'

Value  of  type  has  no  member 

エラーメッセージ

Value of type **** has no member 'xxx'

エラー内容

「****の場所には、xxxという変数がありません」という意味。

原因

変数が無いというエラーなので、****に変数が無い場合は定義しましょう。

ViewController(A)から他のViewController(B)に何か変数経由でデータを渡そうとする場合に発生しやすいです。 B側に変数が定義してあるか確認しましょう。


Category