• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with tableView:viewForTableColumn:row:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with tableView:viewForTableColumn:row:


  • Subject: Problem with tableView:viewForTableColumn:row:
  • From: Laurent Daudelin <email@hidden>
  • Date: Fri, 15 Aug 2014 17:09:25 -0400

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 email@hidden
AIM/iChat/Skype:*LaurentDaudelin*  http://www.nemesys-soft.com/
Logiciels Nemesys Software
_______________________________________________

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


  • Follow-Ups:
    • Re: Problem with tableView:viewForTableColumn:row:
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: How unique does WebView's -groupName have to be?
  • Next by Date: Re: Problem with tableView:viewForTableColumn:row:
  • Previous by thread: Re: How unique does WebView's -groupName have to be?
  • Next by thread: Re: Problem with tableView:viewForTableColumn:row:
  • Index(es):
    • Date
    • Thread