[swift error] this class is not key value coding-compliant for the key btnReload.

    Thread 1: "[<Web.ViewController 0x109806510> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key btnReload."

    AppDelegate 에서 이런 오류가 생겼다. 

    btnReload가 사라진 것으로 해당 이름의 아울렛 변수를 확인해볼 필요가 있다. 

     

    1. 제대로 선언되어 있지 않는 경우

    다시 한번 선언해 줌

     

    2. 제대로 선언되어 있는 경우. 

    2-1 연결이 꼬여있을 수 있으므로, 삭제하고 다시 연결 

    연결도 제대로 되어 있음.. 

    그러나 아직도 오류 해결 못함. 

    viewController에서 연결 직접 확인... 

    이상없음

    ViewController에서 btnReload가 buttonadl 아니라 툴바 전체로 잘못 연결됨 확인... 

    수정. 

    해결!

    댓글