Re: update a tableView from a different class
Re: update a tableView from a different class
- Subject: Re: update a tableView from a different class
- From: Graham Cox <email@hidden>
- Date: Thu, 05 May 2011 11:45:54 +1000
On 05/05/2011, at 11:40 AM, Martin Batholdy wrote:
> So [table reloadData]; gets executed but has no effect ...
Well, it definitely does have an effect, just not the one that you are assuming.
Show the code for your data source. How does the table get its data from <content>? Set a breakpoint in -tableView:objectValueForTableColumn:row: and check it gets called after -reloadData has been called (it might be deferred until the next event cycle - I forget whether that's the case or whether the reload is synchronous with -reloadData).
--Graham
_______________________________________________
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