NSSet + NSUndoManager / Core Data = ?
NSSet + NSUndoManager / Core Data = ?
- Subject: NSSet + NSUndoManager / Core Data = ?
- From: Keary Suska <email@hidden>
- Date: Fri, 04 Apr 2014 07:40:31 -0600
I came across a situation of using undo with sets and it seemed like I needed some extra tests to implement undo properly. For instance, testing for the existence of an object before adding, since it seems like the undo will remove the existing object and lead to hard-to-identifty bugs.
So then I need to look at Core Data implementation (i.e. custom to-many accessors): is Core Data smart enough to do these tests itself for undo support, or should I do these tests myself before calling willchange/didchange?
TIA,
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