• 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: Document with Multiple Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document with Multiple Windows


  • Subject: Re: Document with Multiple Windows
  • From: Jonathon Mah <email@hidden>
  • Date: Tue, 27 Nov 2007 14:50:09 +1030

Hi Mike,

On 2007-11-27, at 14:18, Mike Rossetti wrote:

I'm close: I can make edits in the main window and see them in the sub-component windows, and vice versa. But only the main window shows dirtiness and can be used to undo/redo. The additional windows can save the document but if I try an undo then I just get a beep.


In each window controller for the other windows, implement the delegate method -windowWillReturnUndoManager:, and return [managedObjectContext undoManager].

I think the dirty status /should/ propagate correctly. Are you creating additional window controllers and adding them to your NSPersistentDocument instance?



Jonathon Mah
email@hidden


_______________________________________________

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


References: 
 >Document with Multiple Windows (From: Mike Rossetti <email@hidden>)

  • Prev by Date: Document with Multiple Windows
  • Next by Date: [ANN] Core Data debug library available
  • Previous by thread: Document with Multiple Windows
  • Next by thread: Re: Document with Multiple Windows
  • Index(es):
    • Date
    • Thread