iOS xib 拉出属性误删
2018-05-08 本文已影响0人
iOS_cpf
最近闲下来整理之前开发中遇到的一些问题,
1.xib拉出来的属性,误删。报错[NSObject setValue:forUndefineKey];
class is not key value coning-compliant for the key xxx(属性名字)

解决办法: 1.找到xib相应控件,把之前关联的属性删除
2.拉出新的属性
3.编译检查
最近闲下来整理之前开发中遇到的一些问题,
1.xib拉出来的属性,误删。报错[NSObject setValue:forUndefineKey];
class is not key value coning-compliant for the key xxx(属性名字)
解决办法: 1.找到xib相应控件,把之前关联的属性删除
2.拉出新的属性
3.编译检查