是这样的,我现在要往coredata里面存一个float类型的数,而coredata里面的存储模型是NSNumber,我写下面的一个语句,但一直编译不通过,有知道原因的不?
point.x = [circle.point_x floatValue]; //point.x 是CGFloat类型,point_x是NSNumber
point.x = [circle.point_x floatValue]; //point.x 是CGFloat类型,point_x是NSNumber