• 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: iOS Deleting an Entity from Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS Deleting an Entity from Core Data


  • Subject: Re: iOS Deleting an Entity from Core Data
  • From: Alex Finkel <email@hidden>
  • Date: Wed, 04 Sep 2013 16:13:06 -0400

So you want to issue an app update that will not have that entity and in
the same time will not force your users to delete the app and re-install
it.
To achieve that you will need to do a Core Data Migration.
https://developer.apple.com/library/ios/documentation/cocoa/Conceptual/CoreDataVersioning/Articles/Introduction.html#//apple_ref/doc/uid/TP40004399-CH1-SW1




On Wed, Sep 4, 2013 at 3:55 PM, Dave <email@hidden> wrote:

> Hi,
>
> I want to remove an Entity from a Core Data Store (SQLite). I deleted it
> in the model, but when I run the App now, it crashes with a "Z" table
> already created error. I've also removed (AFAIK) all references to this in
> the Project. This entity has no relationships and was basically created
> ages ago but was never used, I now want to remove from the Store, but I
> don't want this to crash for existing users!
>
> What do I have to do to delete Entity this from an existing Store?
>
> Thanks in Advance
> Dave
>
>
> _______________________________________________
>
> 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
_______________________________________________

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


References: 
 >iOS Deleting an Entity from Core Data (From: Dave <email@hidden>)

  • Prev by Date: Re: Subclassing a View Controller in a Storyboard
  • Next by Date: Re: Subclassing a View Controller in a Storyboard
  • Previous by thread: iOS Deleting an Entity from Core Data
  • Next by thread: NSTimezone and offset
  • Index(es):
    • Date
    • Thread