如何像旧数组一样添加可变数组?
我尝试了这段代码,但它不起作用:
- (void)didParsingApiBusinesses:(NSMutableArray *)businesses
{
NSZone *zone = [entriesBusinessesArray zone];
entriesBusinessesArray = [businesses mutableCopyWithZone:zone];
}
如何像旧数组一样添加可变数组?
我尝试了这段代码,但它不起作用:
- (void)didParsingApiBusinesses:(NSMutableArray *)businesses
{
NSZone *zone = [entriesBusinessesArray zone];
entriesBusinessesArray = [businesses mutableCopyWithZone:zone];
}