数组不能有nil的对象,字典不能插入nil的值

来源:互联网 发布:2015最好的网络机顶盒 编辑:程序博客网 时间:2024/06/05 23:50

Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘* -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[2]’
* First throw call stack:

字典不能插入nil的值

Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘* -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[2]’
* First throw call stack:

数组不能有nil的对象

0 0
原创粉丝点击