The dreaded "UITableView won't refresh" problem.
The dreaded "UITableView won't refresh" problem.
- Subject: The dreaded "UITableView won't refresh" problem.
- From: G S <email@hidden>
- Date: Tue, 12 Oct 2010 06:50:16 -0700
Hi all.
I have a controller derived from UIViewController. It contains an
IBOutlet UITableView*, and declares and implements the necessary
delegate protocols (cellForRowAtIndexPath and numberOfRowsInSection).
The UITableView resides on a view by itself. I have the delegates
connected to the file's owner in Interface Builder, and that owner is
of my controller type. I also have the owner's IBOutlet member
pointer connected in IB.
My delegate methods get called, and I can see that I'm getting the
expected results in them and setting cell.textLabel.text in the
provided cell. After that, I call reloadData on the UITableView, but
it still shows as empty.
I've looked at many posts about this, but there's always some
explanation that doesn't apply to my simple case here. Anybody have
an idea?
Thanks!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden