• 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
How to enable Undo only for subgroup of managed objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to enable Undo only for subgroup of managed objects?


  • Subject: How to enable Undo only for subgroup of managed objects?
  • From: "Arthur C." <email@hidden>
  • Date: Wed, 20 Sep 2006 16:45:35 +0200

I have a Core Data application in which I would like some objects to have an undo capability, and others not.
For example, there are some objects which the user can change (which we want to be undo enabled), and objects that get changed as the program runs, for example by incoming I/O, network traffic etc. (no undo wanted).
When the user tries to 'undo' some change, the latest change is undone, regardless what type of object was changed. So this will normally be an automatically updated object.


Question: can I disable 'undo' for a specific set of objects in a managed object context?

A solution would be either to throw the automatically changed objects out of the managed object context, or to create a second managed object context.
I would like to know if there is a simpler solution, or that one of the above is really preferred.



Best regards,

Arthur C.

_________________________________________________________________
Play online games with your friends with Messenger http://www.join.msn.com/messenger/overview


_______________________________________________
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: How to enable Undo only for subgroup of managed objects?
      • From: "Arthur C." <email@hidden>
  • Prev by Date: Re: stepper motors + OS X
  • Next by Date: Re: Rerun value transformer
  • Previous by thread: Re: How set breakpoint in szone_error?
  • Next by thread: RE: How to enable Undo only for subgroup of managed objects?
  • Index(es):
    • Date
    • Thread