Can get members, but not count of NSMutableArray
- by Curyous
I'm filling an NSMutableArray from a CoreData call. I can get the first object, but when I try to get the count, the app crashes with Program received signal: “EXC_BAD_ACCESS”. How can I get the count?
Here's the relevant code - I've put a comment on the line where it crashes.
- (void)viewDidLoad {
[super viewDidLoad];
managedObjectContext =…