• 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: Bindings and the Undo Manager (again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings and the Undo Manager (again)


  • Subject: Re: Bindings and the Undo Manager (again)
  • From: Jason Harris <email@hidden>
  • Date: Sun, 30 Jan 2005 04:33:37 -0700

On Jan 30, 2005, at 12:01 AM, Dan Stein wrote:

For quite some time today I was getting errors upon trying to undo an insert operation into my table (even though undoing
deletions and edits seemed to be working OK):

I don't know for sure, but I'd guess that it's because when you preserve selection and you've undone an insert, it's possible that you're trying to select an item that's no longer present.


There are some other gotchas with table views that change numbers of rows and selection before doing a reloadData, maybe the bindings stuff is doing that behind the scenes.

You could run your app in the debugger and set a breakpoint on -[NSException raise] and then look at the backtrace when it drops into the debugger to see exactly where things are gawking.

Jason

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Bindings and the Undo Manager (again) (From: Dan Stein <email@hidden>)

  • Prev by Date: Re: Do IMPs move once they're loaded?
  • Next by Date: Re: designated initializer conventions
  • Previous by thread: Re: Bindings and the Undo Manager (again)
  • Next by thread: designated initializer conventions
  • Index(es):
    • Date
    • Thread