Re: Remove action on NSArrayController bound to table causes index beyond bounds
Re: Remove action on NSArrayController bound to table causes index beyond bounds
- Subject: Re: Remove action on NSArrayController bound to table causes index beyond bounds
- From: Quincey Morris <email@hidden>
- Date: Tue, 24 Mar 2009 11:02:33 -0700
On Mar 24, 2009, at 01:56, Luke Evans wrote:
Mmm... well, I'm coming around to the idea that something about my
model might be getting screwed before the index out of range
exceptions (though these still happen under the specific conditions
noted).
The "boundary condition" you referred to in your original post was
deletion of a row that caused the vertical scrollbar to autohide. I've
noticed in the past that this autohiding can trigger a surprisingly
unintuitive sequence of method calls (because, basically, the view
resizing associated with the autohiding comes in the middle of
whatever else is going on).
It would be worth changing your scroll view to *not* autohide its
scroll bars and see if you can recreate the crash. (Prediction: it
won't crash.) Unfortunately, that won't tell you whether the problem
is in the frameworks or your code, but might help narrow down the
possibilities.
_______________________________________________
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