首页 > 其他 > 详细

[<DDGuessYouLIkeModel 0x7c99faf0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key star.

时间:2016-01-16 19:10:15      阅读:137      评论:0      收藏:0      [点我收藏+]

出现这个提示是由于以下原因造成:

这里我用到了MJExtension将字典转为模型,但再转为模型的时候,出现这个提示,原因就是因为NSInteger后面多一个一个“*”

@property (nonatomic,assign) NSInteger *star;

改为:

@property (nonatomic,assignNSInteger star;即可。

[<DDGuessYouLIkeModel 0x7c99faf0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key star.

原文:http://www.cnblogs.com/Rinpe/p/5135840.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!