Very simple situation… very strange problem.
I have a retained iVar NSMutableArray that I load a few objects in on viewDidLoad.
That array is used to populate a tableView.
Everything is fine… until
I turn editing on for the tableView.
Suddenly the array is empty!
Ideas?
You may need to initialize the NSMutableArray in the init method. That’s the most common problem that I’ve noticed- adding objects to an array that hasn’t been created doesn’t let you access the objects later.