How to enable Undo only for subgroup of managed objects?
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