NSMutableArray becoming nil after reloadData
问题 In an iPhone app I'm developing, I grab a set of data from a web service, store it in a mutable array for showing in a table, and also store it in core data as backup when there is no network. My array is initialized in application:didFinishLaunchingWithOptions: as follows tableArray = [[NSMutableArray alloc] initWithCapacity:100]; the array is then filled after viewDidLoad gets called, meaning the UITableView exists (verified by checking debugger), and just before reloadData is called, I