• 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
CoreData deleteAll of kind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData deleteAll of kind


  • Subject: CoreData deleteAll of kind
  • From: Devraj Mukherjee <email@hidden>
  • Date: Mon, 6 Jul 2009 19:49:09 +1000

Hi all,

I need my application to be able to delete all objects of a core data
managed entity, at the moment the only way I can see how to do that is
to fetch all objects of the entity kind and delete them one at a time
looping through the collection.

I have a suspicious feeling that there has to be a deleteAll message
that helps clear entities of a certain kind.

Can someone please point me in the right direction?

Thanks a lot.

--
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)
_______________________________________________

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: CoreData deleteAll of kind
      • From: Chris Hanson <email@hidden>
    • Re: CoreData deleteAll of kind
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: [meet] cocoaheads Swindon tonight!
  • Next by Date: Re: NSTableview - tableView:heightOfRow: not behaving
  • Previous by thread: [meet] cocoaheads Swindon tonight!
  • Next by thread: Re: CoreData deleteAll of kind
  • Index(es):
    • Date
    • Thread