• 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
NSSet + NSUndoManager / Core Data = ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSSet + NSUndoManager / Core Data = ?
      • From: Graham Cox <email@hidden>
    • Re: NSSet + NSUndoManager / Core Data = ?
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: NSOperation Issues
  • Next by Date: Autolayoout on scaled views
  • Previous by thread: Re: Retain count in non ARC
  • Next by thread: Re: NSSet + NSUndoManager / Core Data = ?
  • Index(es):
    • Date
    • Thread