Recomputing non-standard Core Data attributes when child MOC is saved?
Recomputing non-standard Core Data attributes when child MOC is saved?
- Subject: Recomputing non-standard Core Data attributes when child MOC is saved?
- From: Rick Mann <email@hidden>
- Date: Tue, 18 Jun 2013 18:21:32 -0700
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?
--
Rick
_______________________________________________
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