On May 25, 2009, at 12:15 AM, Kelvin Chung wrote:

Is there a way to represent an ordered to-many relation?

It sounds like you need Brain Webster's BWOrderedManagedObject: 
http://www.fatcatsoftware.com/blog/2008/per-object-ordered-relationships-using-core-data

It adds mutableOrderedValueForKey: (and some other useful methods) to NSManagedObject, allowing to-many relationships to be stored with a specified order. I've been using it in one of my projects and it works like a charm.

-- Kevin

Kevin Gessner
http://kevingessner.com
ke...@kevingessner.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to