Re: Copying records from to-many relationship in Core Data

2009-09-07 Thread Sean Kline
In case anyone is interested (or understood my post ;-)), Rib Rix is helping me through this one. The issue is that Apple states: You are typically discouraged from performing fetches within an implementation of awakeFromInsert. Although it is allowed, execution of the fetch request can trigger th

Copying records from to-many relationship in Core Data

2009-08-29 Thread Sean Kline
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 fetc