• 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: Remove action on NSArrayController bound to table causes index beyond bounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Remove action on NSArrayController bound to table causes index beyond bounds (From: Luke Evans <email@hidden>)
 >Re: Remove action on NSArrayController bound to table causes index beyond bounds (From: Luke Evans <email@hidden>)

  • Prev by Date: Optimistic locking failure with NSOverwriteMergePolicy
  • Next by Date: UINavigationBar hidden in one view but not another
  • Previous by thread: Re: Remove action on NSArrayController bound to table causes index beyond bounds
  • Next by thread: -hexValue for NSString?
  • Index(es):
    • Date
    • Thread