• 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: Help with undo/redo and NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with undo/redo and NSArrayController


  • Subject: Re: Help with undo/redo and NSArrayController
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 10 Apr 2006 21:25:32 -0700
  • Thread-topic: Help with undo/redo and NSArrayController

on 06/04/10 10:08, Mike Abdullah at email@hidden wrote:

> I'm currently implementing undo/redo functionality in my app and I'm
> having problems with my NSArrayController.  When adding an item to
> the array controller, I call from the documents undo manager:
>
> prepareWithInvocationTarget: arrayController] removeObject: newObject];
>
> Now this works fine for the undo functionality, but as soon as I try
> to redo the operation, nothing happens.  So I guess the question is,
> what method does the redo functionality call?

The surprising answer is: whatever you tell it to.

I don't understand your issue fully, but it smells like you may benefit from
this post by Bill Cheeseman.  Redo does NOT "just work"....

http://www.cocoabuilder.com/archive/message/cocoa/2002/7/12/61349


 _______________________________________________
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

  • Follow-Ups:
    • Re: Help with undo/redo and NSArrayController
      • From: Mike Abdullah <email@hidden>
References: 
 >Help with undo/redo and NSArrayController (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Help files no help
  • Next by Date: Re: ... loading XML store type into in-memory store...
  • Previous by thread: Help with undo/redo and NSArrayController
  • Next by thread: Re: Help with undo/redo and NSArrayController
  • Index(es):
    • Date
    • Thread