Hi,

I've a UITabBarController. with two tabs, that's loaded from the 
MainWindow.xib. It's UINavigationControllers are in the same NIB, which load 
their UITableViewControllers from external NIB's (as recommended by Apple).
The tableview in the first tab loads in its tableView:didSelectRowAtIndexPath 
the same tableview as the second would (but with different properties). This is 
the same behaviour as the iPod application, where the artist tableview loads an 
album view, but you can also show albums from the tab bar controller (showing a 
different set of albums).
When the second tableview is loaded from the first tableview, everything works 
fine. When the second tableview is loaded directly in the second tab, 
viewDidAppear is called long before the view is shown. The tableView therefore 
did not have time to fully initialize (and call numberOfRowsInSection:) and 
crashes on a wrong row insert command in viewDidAppear.

How can I find out why the viewDidAppear is called to early?

Kind regards,

Remco Poelstra
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to