에러
-
[xcode]this class is not key value coding-compliant for the key 에러 원인/해결iOS/error log 2021. 4. 2. 03:43
this class is not key value coding-compliant for the key 자주 보이는 xcode 에러다. Interface Builder 의 구성 에러 설정한 IBOutlet이 없어졌거나 할경우 발생. Tab Bar Controller에 배치한 nib의 경우 Tab Bar Controller 내의 오브젝트클래스랑 nib의 클래스가 일치하지 않는 경우에도 발생. nib에서 Tab Bar Controller의 각 View Controller을 대상 클래스랑 정확히 연결할것 이다. 보통은 금방 해결되는데 이상한 데서 해결이 안될때가 있다. 나같은 경우에는 커스텀 뷰를 만들어두고 nib으로 레지스터하는 부분에서 에러가 발생했는데 알고보니 IBoutlet연결할때 한 개만 file's ..