首页 > 其他 > 详细

libc abi.dylib: terminate_handler unexpectedly threw an exception

时间:2016-02-26 12:08:44      阅读:167      评论:0      收藏:0      [点我收藏+]

错误代码:很明显的错误,一定要谨记.

 1 - (NSInteger)giftCountFullScreen{
 2     NSArray *arr = [NSMutableArray arrayWithArray:self.arrayGiftGruop];
 3     for (id data in arr) {
 4         BaseGiftItem *item = (BaseGiftItem *)data;
 5         if ([item.image isEqualToString:@"gift_bamboo"] && [item.price isEqualToString:@"1000"]) {
 6             [arr removeObject:item];
 7         }
 8     }
 9     return arr.count;
10 }

 

libc abi.dylib: terminate_handler unexpectedly threw an exception

原文:http://www.cnblogs.com/lz465350/p/5219796.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!