Copying records from to-many relationship in Core Data
Copying records from to-many relationship in Core Data
- Subject: Copying records from to-many relationship in Core Data
- From: Sean Kline <email@hidden>
- Date: Sat, 29 Aug 2009 16:50:19 -0400
Folks,
I have a Core Data application with two entities (relevant to this question)
with a to-many relationship between them. When I create a new record in
Entity 1, I would like to copy the to-many records from Entity 2 from that
last record created into the new record. I tried to execute a fetch into an
array, but whenever I do this the table that is bound to Entity 1 displays
two records. There may be something bizarre that I have done causing this
behavior, but does anyone have any general advice or examples to help me
achieve what I am trying to do?
Thanks,
- S
_______________________________________________
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