Re: TableView crash when scrolling to out of view rows
Re: TableView crash when scrolling to out of view rows
- Subject: Re: TableView crash when scrolling to out of view rows
- From: Denis Stanton <email@hidden>
- Date: Fri, 12 Mar 2004 09:23:16 +1300
Barrett
You haven't said what the crashing error is.
I had something similar that was caused by me failing to retain some
object that was required to calculate the table rows. The unretained
object was surviving long enough for the application to display the
initial visible rows, but by the time I clicked on the arrow it had
released itself so attempting to calculate the next row as I scrolled
would fall over.
Denis
On 12/03/2004, at 8:10 AM, Barrett Conrad wrote:
>
Hi list,
>
>
I have what seems to be a fully functional NSTableView (i.e. I
>
have
>
no other problems with it) that will crash when you try and scroll or
>
arrow down to the rows that are out of view. In other words I have a
>
table that is only big enough to show about 6 rows, but in actuality
>
holds ten (I can see the start of the top of the seventh and can verify
>
there others are there). If I select a visible row and arrow down to
>
the seventh, the app either crashes or beach balls then crashes. Oddly
>
the table doesn't start out with a scroll bar unless you resize the
>
window. Using the scroll bar crashes the app as well. Also, if I use
>
IB to resize the table to a size that I know is big enough to view all
>
the rows everything works just fine.
>
>
>
>
Thanks as always,
>
>
barrett.
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
>
>
Denis Stanton
email@hidden
Home: +64 9 533 0391
mobile: +64 21 1433622
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.