
[UIKit] 마주한 첫 번째 에러 (this class is not key value coding-compliant for the key)
·
📱 iOS/UIKit
"this class is not key value coding-compliant for the key" ... "libc++abi: terminating due to uncaught exception of type NSException" TextField, Label, Button 컴포넌트밖에 사용하지 않았는데, ViewController 코드 상에 문제가 없는데 컴파일하면 에러가 발생한다. 결론부터 말하자면 Swift파일의 @IBOutlet || @IBAction의 연결이 끊여졌을 때 발생하는 런타임 에러이다. 상황 1. 스토리보드 view에 Label과 TextFild, Button을 배치함 'view.backgroundColor = .purple'은 시뮬레이션에 잘 연동됐는지 디버깅 용 2. 스토..