• 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: How to synchronize my MacOS-X application with Core-Data automatic Undo management?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to synchronize my MacOS-X application with Core-Data automatic Undo management?


  • Subject: Re: How to synchronize my MacOS-X application with Core-Data automatic Undo management?
  • From: Keary Suska <email@hidden>
  • Date: Tue, 26 Aug 2014 12:08:46 -0600

On Aug 26, 2014, at 11:39 AM, Keary Suska <email@hidden> wrote:

>> * When should I do this? before, or after my calls to CoreData?
>
> You would tend to register undo action in the order they need to be *undone*, but logically if you need to make changes in response to changes made to a context, you would register your actions after the changes are made.

It occurred to me that I should clarify this statement, as it the obvious reading could be misleading. More precisely, that you register undos with the notion of how they need to be undone. Undo will always perform actions in the *reverse* order that they are registered, so you want to make sure that the registered actions can e correctly performed in the reverse order.

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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: 
 >How to synchronize my MacOS-X application with Core-Data automatic Undo management? (From: Motti Shneor <email@hidden>)
 >Re: How to synchronize my MacOS-X application with Core-Data automatic Undo management? (From: Keary Suska <email@hidden>)
 >Re: How to synchronize my MacOS-X application with Core-Data automatic Undo management? (From: Motti Shneor <email@hidden>)
 >Re: How to synchronize my MacOS-X application with Core-Data automatic Undo management? (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: How to synchronize my MacOS-X application with Core-Data automatic Undo management?
  • Next by Date: Game Center Invite
  • Previous by thread: Re: How to synchronize my MacOS-X application with Core-Data automatic Undo management?
  • Next by thread: How is the "-NSPrint" command line option supposed to be used?
  • Index(es):
    • Date
    • Thread