关于Xcode"this class is not key value coding-compliant for the key" 的错误问题

我是遇到了"this class is not key valuecoding-compliant for the key indexLabel"

错误“这个类是不关键价值的关键标准与编码”

 

可能是之前在xibStoryBoard用过控件没有及时删除导致.删除如图中控件即可.关于Xcode"this class is not key value coding-compliant for the key" 的错误问题