Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8249361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T23:31:02+00:00 2026-06-07T23:31:02+00:00

I have an app on the market which has just one object instance a1

  • 0

I have an app on the market which has just one object instance a1 of class A in core data.

In the new version I now need 2 instances b1, b2 of a new class B,and 2 instances c1, c2 of new class C. here b1 and c1 get most data from old a1 while b2 and c2 have to be created but left empty – so do not get data from the old core data object.

All tutorials and descriptions elaborate on data transformation old -> new, but in my case its about this migration from old data to new including creating the new empty objects.

What would be the correct way to do this, since “typical migration” does not really cover this case?

I did the same in Android with my database, there it is really easy but I am not sure how to “press” my problem into core data migration scheme.

many Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T23:31:04+00:00Added an answer on June 7, 2026 at 11:31 pm

    You have to create a custom migration policy. Use this post as a guideline to get started and get a good starting point for researching the docs.

    Core Data versioning and migrating with custom policy

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app on the market that records audio using the AudioRecord class
I currently have a app on the market it saves some data with onRetainNonConfigurationInstance
i have released a version 1 on some app in the market. Can anyone
I'm publishing an app on the Android Market which has an ad in it.
I have an app released on the android market which uses sqlite and displays
I have an app on the Android Market that's throwing an exception which I've
I have a little WPF app, that has a TreeView to display hierarchical data.
I have a Rails web app which has static files under dynamic restful urls.
I'm trying a new market strategy so I'm gonna put my 0,79€ App now
I have an app on the market, but in some cases it force closes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.