another Core Data and Undo Question
another Core Data and Undo Question
i have a core data app that supports both real time events and user
interaction. some of the user interactions can generate an undo stack
similar to the following:
beginUndoGroup
beginUndoGroup
core data action
core data action
endUndoGroup
myAction
endUndoGroup
now some of the real time events can cause the target of myAction to
be deleted and i can easily remove this from the undo stack. but that
leaves a nested group which is no longer meaningful and it leaves the
undo menu action name referring to the deleted myAction
is there anyway to delete the entire group (including the nested core
data actions)? if so, how? alternatively, can anyone suggest an
approach to deal with this situation?
thanx,
ken
p.s. i don't know if its relevant or not, but i have setGroupsByEvent
set to NO and i begin an undo group when i'm ready to execute a user
action.
_______________________________________________
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