Re: Core Data and ordered to-many relations
Re: Core Data and ordered to-many relations
- Subject: Re: Core Data and ordered to-many relations
- From: Kevin Gessner <email@hidden>
- Date: Mon, 25 May 2009 08:28:04 +0200
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
email@hidden
_______________________________________________
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