I have an NSArray that I pass in through a delegate method:
- (void)didFinishParsing:(NSArray *)array {
[self.myArray addObjectsFromArray:array];
NSLog(@"%@", self.myArray);
[self.tableView reloadData];
}
There's only one object in the array
and I'd like the tableView row count to equal the amount of objects in the array objectAtIndex:0
, but I cannot get the count. I have tried:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return [[self.myArray objextAtIndex:0] count];
}
How do I get the number of object inside the first (and only) object in my array?