• 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: Efficient Updating of Thousands of NSManagedObject Relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Efficient Updating of Thousands of NSManagedObject Relationships


  • Subject: Re: Efficient Updating of Thousands of NSManagedObject Relationships
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 28 Jul 2008 16:35:40 -0400

> for (song in songs)
>  NSManagedObject *song = ... (Fetch some from proper context)
>  song.playlist = destinationList
> end

  You could always ask the playlist for its
-mutableSetValueForKey:@"songs" ... then call -addObjects: and pass in
your songs array.

--
I.S.
_______________________________________________

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

  • Follow-Ups:
    • Re: Efficient Updating of Thousands of NSManagedObject Relationships
      • From: Kenny Carruthers <email@hidden>
References: 
 >Efficient Updating of Thousands of NSManagedObject Relationships (From: Kenny Carruthers <email@hidden>)

  • Prev by Date: Predicate Binding Format/case sensitive question ...
  • Next by Date: Re: Storing values in dictionary with their address as the key
  • Previous by thread: Efficient Updating of Thousands of NSManagedObject Relationships
  • Next by thread: Re: Efficient Updating of Thousands of NSManagedObject Relationships
  • Index(es):
    • Date
    • Thread