• 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: Grouping undo-able actions with CoreData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grouping undo-able actions with CoreData


  • Subject: Re: Grouping undo-able actions with CoreData
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 24 May 2005 21:04:58 -0700


On May 24, 2005, at 8:05 PM, John Timmer wrote:

The second issue is the bundled undo operations. On mmalc's advice, I
started the bundling when the event was triggered and, at the end, tried:
[[theContext undoManager] endUndoGrouping];
[theContext processPendingChanges];



Without considering any of the other aspects at the moment, these lines should be the other way round -- processPendingChanges is what causes the undo events to be registered.


mmalc

_______________________________________________
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


References: 
 >Re: Grouping undo-able actions with CoreData (From: John Timmer <email@hidden>)

  • Prev by Date: Re: Working set bloat in Xcode 2
  • Next by Date: Re: Grouping undo-able actions with CoreData
  • Previous by thread: Re: Grouping undo-able actions with CoreData
  • Next by thread: Re: Grouping undo-able actions with CoreData
  • Index(es):
    • Date
    • Thread