ios 将数组分段

            NSUInteger itemsRemaining = predicateArr.count;
         int j = 0;
         while(itemsRemaining) {
             NSRange range = NSMakeRange(j, MIN(1500, itemsRemaining));
            NSArray *subLogArr = [predicateArr subarrayWithRange:range];
            //TODO:
            [arrayOfArrays addObject:subLogArr];
            [self.mapView addAnnotations:subLogArr];
               itemsRemaining-=range.length;
               j+=range.length;
            }
上一篇:2021.12.06 P2508 [HAOI2008]圆上的整点(数论+ π )


下一篇:UE4 Windows远程发布iOS之导入mobileprovision文件过期