• 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, reset a persistent store
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData, reset a persistent store


  • Subject: CoreData, reset a persistent store
  • From: Pierre Chatelier <email@hidden>
  • Date: Tue, 14 Nov 2006 14:43:22 +0100

Hello,

I am wondering how to reset a persistent store used by a single data model.
-A simple solution would be to fetch all objects and delete them; this consumes much memory.
-I am not sure that deleting the file under the persistent store is a good idea.
-the "reset" method of the managed object model is not designed for that.


Did I miss something ?

Regards,

Pierre Chatelier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CoreData, reset a persistent store
      • From: Chris Hanson <email@hidden>
    • Re: CoreData, reset a persistent store
      • From: Jim Correia <email@hidden>
    • Re: CoreData, reset a persistent store
      • From: Elise van Looij <email@hidden>
  • Prev by Date: Re: Core Data/Bindings Issue re: pop-ups and multiple relationships
  • Next by Date: Core data in Leopard
  • Previous by thread: Re: controlTextDidChange vs NSNumberFormatter
  • Next by thread: Re: CoreData, reset a persistent store
  • Index(es):
    • Date
    • Thread