• 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
core data + undo + to-many relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

core data + undo + to-many relationship


  • Subject: core data + undo + to-many relationship
  • From: John Clayton <email@hidden>
  • Date: Sun, 07 Dec 2008 12:42:33 +0100

Hi everyone

In a core-data model I have a 'layer' which contains a to-many relationship to a set of 'effects'. When I add an effect, everything is working well.

When I use Ctrl-Z to have the undo manager undo the addition of the effect, then none of my custom accessors are fired (so my GUI doesn't react) - although the Effect instance faults and is deallocated (as I can see from my logging).

I thought implementing the accessors: addEffectObject: / removeEffectObject: and the set variations addEffects: / removeEffects: on my Layer core-data class was enough to get the undo management to work in this case - or did I misread the core-data docs?

Any hints / tips appreciated.

Thanks
--
John Clayton
Skype: johncclayton




_______________________________________________

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: core data + undo + to-many relationship
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: core data, refreshObject, multiple threads
  • Next by Date: Re: core data + undo + to-many relationship
  • Previous by thread: File Sharing Within App
  • Next by thread: Re: core data + undo + to-many relationship
  • Index(es):
    • Date
    • Thread