title: tableview reloadData doesn't work... - NSArray invalid summary
body: <p>I have read a lot of posts about this topic, but i can't find an answer to fix my problem... For that reason I hope, you can help me:</p>
  
  <p>I have got an iPad App with a SplitViewController Template. So the RootViewController is type of UITableViewController. My data is stored in two arrays, which are filled by a XMLParser (class SyncController). But the tableView doesn't show the data...</p>
  
  <p>First my call of the parser in the AppDelegate:</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
      // Override point for customization after application launch.
      // Add the split view controller's view to the window and display.
  
  
      self.window.rootViewController = self.splitViewController;
      [self.window makeKeyAndVisible];
  
      syncController = [[SyncController alloc] init];
  
      [syncController syncData];
  
      return YES;
  }
  </code></pre>
  
  <p>That works. The SyncController is parsing the XML and at the End, I have got two instance variables (NSMutableArrays) of the SyncController filled with my data, I want to transfer to my RootViewController:</p>
  
  <pre><code>rootViewController.visitorNames = [[NSArray alloc] initWithArray:self.visitorNames];
  rootViewController.visitorCompanies = [[NSArray alloc] initWithArray:self.visitorCompanies];
  [rootViewController.tableView reloadData];
  </code></pre>
  
  <p>reloadData seems to work:</p>
  
  <pre><code>- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
  {
  NSLog(@"comp count: %u", [self.visitorCompanies count]);
  return [self.visitorCompanies count]; }
  </code></pre>
  
  <p>The Console shows the right number of Elements...
  But then, cellForRowAtIndexPath isn't called</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      NSLog(@"testghjgjggjgjggjghjghjghjghjghjghjjhgghj");
      static NSString *CellIdentifier = @"Cell";
  
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      if (cell == nil) {
          cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
      }
  
  
  // Configure the cell.
  cell.textLabel.text = [self.visitorCompanies objectAtIndex:indexPath.row];
  
  return cell;
  }
  </code></pre>
  
  <p>There is no Console output.
  So I've set a breakpoint at numberOfRowsInSection to look at the instance Variables </p>
  
  <p><a href="http://imageshack.us/photo/my-images/146/debugo.jpg/" rel="nofollow">Debug Output</a></p>
  
  <p>They seem to be OK, but when you look at _dataSource of tableView, you see that there is an Invalid Summary...</p>
  
  <p>I think that is the reason why my TableView doesn't work.</p>
  
  <p>Info: If I don't use the SyncController and initialize the NSArrays with fixed values in RootViewController's viewDidLoad, it works fine</p>