变量定义错误

reason: '[<MLDataModel 0xb586180> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key IsAdmin.’

将MLDataModel中变量IsAdmin
从定义

@property (nonatomic, assign)BOOL *IsAdmin;

改为

@property (nonatomic,copy)NSString *IsAdmin;
发布了96 篇原创文章 · 获赞 2 · 访问量 4万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章