본문 바로가기

swift 에러

swift 에러) this class is not key value coding-compliant for the key

반응형

개발을 하다가 다음과 같은 에러가 나타났다. 

this class is not key value coding-compliant for the key

의미를 파악하면 이 클래스는 키에 대한 key value coding과 호환되지 않는다.

 

찾아보니 내가 리펙토링을 하면서 필요없는 ViewController인줄 알고 지웠다가 사용하고 있는 ViewController였다. 

ViewController를 다시 살려주니 해결되는 간단한 에러였다. 

 

 

 

반응형