On Aug 15, 2014, at 14:09 , Laurent Daudelin <laur...@nemesys-soft.com> wrote:

> Now, I implement *tableView:viewForTableColumn:row:*. Based on an array of
> dictionaries, I set the various UI items in the tableCellView that I get
> calling *makeViewWithIdentifier:owner:* passing the tableColumn identifier
> that is set to my custom tableViewCell subclass. Everything works but as I
> download stuff associated with each row and update the appropriate
> dictionary, the tableview starts flickering. Inserting an NSLog() at the
> beginning of *tableView:viewForTableColumn:row:* reveals that the method is
> called several times per second. NOTE: I am not calling *reloadData* or
> *reloadDataForRowIndexes:columnIndexes:* at *ANY* place in my code.
> 
> How is that possible? Is it possible that the NSProgressIndicator is
> causing this? Otherwise, what am I missing?

My guess is that it’s the data updates that are leading to this, rather than 
the progress indicator. However, you can test it easily enough — (1) try the 
download without updating the dictionaries, and (2) try the download with the 
progress indicator hidden.

*How* are you updating the data that the table view sees? Are there bindings 
involved? Is there an objectValue -> underlying dictionary binding, or a cell 
view element -> objectValue binding?


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to