码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-01-16 19:10:49      阅读:287      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!