NSMutableArray使用removeAllObjects接口报错

dataArray = [dataArray mutableCopy];

[dataArray removeAllObjects];

原因:

http://stackoverflow.com/questions/14834749/nsmutablearray-removeallobjects-results-in-a-crash

posted @ 2015-06-30 16:11  金正嗯  阅读(254)  评论(0编辑  收藏  举报