Re: Recomputing non-standard Core Data attributes when child MOC is saved?
Re: Recomputing non-standard Core Data attributes when child MOC is saved?
- Subject: Re: Recomputing non-standard Core Data attributes when child MOC is saved?
- From: Laurent Daudelin <email@hidden>
- Date: Tue, 18 Jun 2013 22:07:09 -0400
Just a wild guess but what about awakeFromInsert?
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
On Jun 18, 2013, at 21:21, Rick Mann <email@hidden> wrote:
> I have some entities instantiated in the main MOC. In a child MOC, I update some non-standard attributes that write out a shadow attribute (CGPoint to NSString). Then I save the child MOC.
>
> But the existing entities in the main MOC don't currently update their non-standard attribute. This is currently done in awakeFromFetch. Is there another place I can hook into so that if the underlying attribute is changed in a child MOC, I can update the derived attribute?
_______________________________________________
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