I\'m just starting out with using Core Data on the iPhone SDK and I\'m looking into saving an ordered list, something like an array. However, relationships in Core Data are
You could do it with another entity, like this: alt text http://gallery.me.com/davedelong/100084/Screenshot-20on-202009-07-04-20at-2010-34-56-20AM/web.jpg?ver=12467253090001
A Document could find its actual dataItems by using something like this:
NSSet * documentDataItems = [[document orderedDataItems] valueForKey:@"dataItem"];
Likewise, a DataItem could find all its documents by doing the same:
NSSet * dataItemDocuments = [[dataItem orderedPositions] valueForKey:@"document"];