I tried a few things and I'm stumped by this. In a UIView object I have an NSArray object declared in my @interface, and set in - (void)awakeFromNib. The UIView is a data source for its UITableView, and to get the number of rows I'm calling the count method, which causes an ERR_BAD_ACCESS. Here is the weird part, if I do
Code:
NSLog(@"%@", [self.streamsArray count]);
I get an ERR_BAD_ACCESS, but if I call
Code:
NSLog(@"%@", self.streamsArray);
everything prints out fine. So why would it be that calling the count method doesn't work?