• 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: Undo manager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undo manager


  • Subject: Re: Undo manager
  • From: Robert Clair <email@hidden>
  • Date: Tue, 15 Mar 2005 18:42:36 -0500

You need to:

1) allocate your own undoManger

2) hold onto it in some central place in your application

3) make sure this is the undoManager returned by [myWindow undoManager];

you accomplish #3 by reading up on and implementing the NSWindow delegate method:


<x-tad-smaller>- (</x-tad-smaller><x-tad-smaller>NSUndoManager</x-tad-smaller><x-tad-smaller> *)windowWillReturnUndoManager:(NSWindow *)</x-tad-smaller><x-tad-smaller>sender

....Bob Clair
</x-tad-smaller>
 _______________________________________________
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

  • Prev by Date: RE: multidimensional arrays
  • Next by Date: Newbie Trouble with Basic Bindings
  • Previous by thread: Undo manager
  • Next by thread: [ANN] Keychain Macros X available - free registration
  • Index(es):
    • Date
    • Thread