//相当于深拷贝一份dataArray。这样才不会改变dataArray本身的值

//相当于深拷贝一份dataArray。这样才不会改变dataArray本身的值
NSMutableArray* commitDataArray = [NSKeyedUnarchiver unarchiveObjectWithData:[NSKeyedArchiver archivedDataWithRootObject:dataArray]];

posted @ 2016-08-17 17:18  ID_超电磁炮  阅读(134)  评论(0编辑  收藏  举报