On 7/6/09 11:32 AM, Greg Guerin said: >> I was wondering the same thing the other day. After searching the >> docs >> and archives, I concluded the only way is to call deleteObject: in a >> loop. I was surprised there's no method that takes an array/set and >> deletes them all. > >Delete-all-of-a-kind sounds like something one could express in a to- >many relationship with cascading delete.
Yup. That could work for the OP. In my case, I do a complex fetch and want to delete all those objects. Not that writing a loop is hard or too ugly, but it seems to me that CoreData might be able to do something smarter if given a set of things to delete vs many separate deletes. No biggie though. -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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