I've just created a new OS X project from Xcode 5.1.1. Simple project, one
window, one tableview set to use NSTableCellView. I have a few UI items in
the table cell view. Nothing fancy, a couple of NSTextFields and an
NSProgressIndicator.

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?

-Laurent.
-- 
Laurent Daudelin laur...@nemesys-soft.com
AIM/iChat/Skype:*LaurentDaudelin*  http://www.nemesys-soft.com/
Logiciels Nemesys Software
_______________________________________________

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