• 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
UndoManager for NSApplication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UndoManager for NSApplication


  • Subject: UndoManager for NSApplication
  • From: Reza Farhad <email@hidden>
  • Date: Tue, 16 Jun 2009 14:45:35 +0100

Hi

I would like to have the facility of undoing deleting of a window.
The best way that I thought I could do this is was to use the UndoManager belonging of my NSApplication. However when I try to get the undoManager for the application by calling:


	[ NSApp undoManager ]

I get a nil pointer.
Also I could not see any straight forward way of setting an undoManager for a NSResponder.
Any suggestions how I can resolve this issue.


Thanks
Reza
_______________________________________________

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


  • Follow-Ups:
    • Re: UndoManager for NSApplication
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: Passing events from original receiver / redirecting flow of events
  • Next by Date: Re: Any Good Core Animation Tutorials?
  • Previous by thread: Re: Passing events from original receiver / redirecting flow of events
  • Next by thread: Re: UndoManager for NSApplication
  • Index(es):
    • Date
    • Thread