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

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

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

@property (nonatomic,assign) NSInteger *star;

改为:

@property (nonatomic,assignNSInteger star;即可。

原文地址:https://www.cnblogs.com/Rinpe/p/5135840.html