• 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 only works in main window of application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undo only works in main window of application


  • Subject: Re: Undo only works in main window of application
  • From: Ryan Britton <email@hidden>
  • Date: Sun, 25 Jun 2006 15:29:58 -0700


On Jun 25, 2006, at 2:49 PM, Wayne Pascoe wrote:

Does this mean that I need to use windows instead of panels ? And also, does this mean that I have to subclass NSWindow for each Window to implement this ?

Nope. The method is in the NSWindow delegate informal protocol. Just hook up the window's delegate outlet to the controller that's going to feed it the undo manager and it should work. Since NSPanel is a subclass of NSWindow, you'll be able to use the same method.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Undo only works in main window of application
      • From: Wayne Pascoe <email@hidden>
References: 
 >Undo only works in main window of application (From: Wayne Pascoe <email@hidden>)
 >Re: Undo only works in main window of application (From: Ryan Britton <email@hidden>)
 >Re: Undo only works in main window of application (From: Wayne Pascoe <email@hidden>)

  • Prev by Date: Re: Undo only works in main window of application
  • Next by Date: Re: Multiple nib files in a core data app
  • Previous by thread: Re: Undo only works in main window of application
  • Next by thread: Re: Undo only works in main window of application
  • Index(es):
    • Date
    • Thread