• 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
Re: NSTableView bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView bug?


  • Subject: Re: NSTableView bug?
  • From: Scott Andrew <email@hidden>
  • Date: Thu, 2 Jul 2009 08:45:52 -0700

I had this problem but it had to do with calculating the height for the row and returning a float value. When i made sure i returned an int this went away. Not sure if you doing that.

Scott


On Jul 2, 2009, at 7:51 AM, Chris Carson wrote:


Hello,

I've created a simple application with an NSTableView. I have written a delegate for this table, numberOfRowsInTableView:objectValueForTableColumn:row:, that returns the number of rows in the table when requested.

My application uses the table view to display hexadecimal data on a flash memory chip, with 16 bytes displayed per row. As a test, I tried returning a large number for the number of rows, 0x1000000. When I scroll through the table, everything looks okay for the first 14 million rows or so, after which the gray horizonal cell separator disappears and the row data begins to shift by a pixel per row, until it eventually is superimposed on the row above it. This seems like a bug with the NSTableView class, but perhaps I'm doing something wrong. Has anyone else run into this problem?

Chris





_______________________________________________

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

_______________________________________________

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


References: 
 >NSTableView bug? (From: Chris Carson <email@hidden>)

  • Prev by Date: Re: Drawing the background of a single row in NSTableView
  • Next by Date: Re: User interface validation doesn't work, right?
  • Previous by thread: Re: NSTableView bug?
  • Next by thread: Re: NSTableView bug?
  • Index(es):
    • Date
    • Thread