• 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
Update an existing Core Data store when the model changes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Update an existing Core Data store when the model changes?


  • Subject: Update an existing Core Data store when the model changes?
  • From: Daniel Thorpe <email@hidden>
  • Date: Wed, 4 Feb 2009 22:54:00 +0000

Hello everyone.

I'm currently developing a Core Data based app, which stores the results of some (relatively) computational intensive calculations as object attributes.

While Core Data is great, it really annoys me that I have to trash my current persistent store whenever I make a change to the data model. So, I'm wondering how feasible it would be to write a script that could "update" a store when the model changes. Sort of like the http://rentzsch.com/code/mogenerator_v1.10 script for creating NSManagedObject subclasses?

Anyone got any thoughts on that?

Cheers
Dan
_______________________________________________

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: Update an existing Core Data store when the model changes?
      • From: Hal Mueller <email@hidden>
  • Prev by Date: Re: [Q] Control over the "You cannot use the application ... with this version of Mac OS X" string
  • Next by Date: Re: NSXML & Auto Release Pools
  • Previous by thread: Re: Getting the value of GUI elements from non-main threads
  • Next by thread: Re: Update an existing Core Data store when the model changes?
  • Index(es):
    • Date
    • Thread