Re: Questions about CoreData and object graphs

2012-11-14 Thread Bob Cromwell
Actually your guess is wrong. Core Data could handle this by turn the object to fault. Have a look at the method refreshObject:mergeChanges. Bob Cromwell On 2012-11-15, at 上午10:30, William Squires wrote: > 1) Can CoreData properly manage an object graph where the objects form a > circular

Questions about CoreData and object graphs

2012-11-14 Thread William Squires
1) Can CoreData properly manage an object graph where the objects form a circular reference (i.e.) Entity Node int nodeType Node onTopOf // 1:1 relationship to another Node entity Node under // another 1:1 relationship End This would be a doubly-linked list in a circular queue so that you