• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Data and ordered to-many relations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Core Data and ordered to-many relations (From: Kelvin Chung <email@hidden>)

  • Prev by Date: Re: Header Differences
  • Next by Date: How to safely break read stream?
  • Previous by thread: Re: Core Data and ordered to-many relations
  • Next by thread: Properly scaling a vector image with CG
  • Index(es):
    • Date
    • Thread