Loading

IOS:Implicit conversion of 'int' to 'id _Nonnull' is disallowed with ARC

for循环往可变数组里添加数据时出现的

添加的是int型

需要改变下类型

比如添加的是 int  a;

addobject后面就是[NSNumber numberWithInt:a];

posted @ 2021-01-06 10:37  DDD-SagerKing  阅读(2241)  评论(0编辑  收藏  举报