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 8870771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:49:15+00:00 2026-06-14T17:49:15+00:00

Prerequisites: I have 2 methods in the network API: return list of entities (just

  • 0

Prerequisites:
I have 2 methods in the network API:

  • return list of entities (just basic info: name, id, etc.)
  • return detailed info about entity

The requirement is to save only objects created by processing the second request (save to sqlite) and leave non-full objects without saving.
Also, the ‘main’ context should contain only full objects from 1st request, and any other ‘temporary’ context should contain all the others objects.

I’ve tried to create two instances of NSPersistentStoreCoordinator and use them for different types of contexts, but it seems that for one NSManagedObjectModel can exist only one coordinator (the pointer points to the same adress).

  • 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-14T17:49:16+00:00Added an answer on June 14, 2026 at 5:49 pm

    The solution that exactly solves my problem is to create two ‘forks’ of core data stack:

    • one with default config and mainContext
    • the second (new instance of the same NSManagedObjectModel, new
      NSPersistentStore (inMemory) and new NSPersistenStoreCoordinator )
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a variable with a list of prerequisites in varying directories, each specified
1)Can Any one please tell me what are the prerequisites have been installed on
I have a WiX installer which installs .Net 4 and SQL as prerequisites. All
VS2008's Setup Projects have a handful of built-in prerequisites (e.g. .NETfx version, VSTO, PowerPacks)
I'm trying to run the Pocket-Island game by Wooga and have installed all prerequisites
i have a setup project that installs a couple of prerequisites, some with the
I have an API consisting of ASP.NET webservices callable through GET/POST/SOAP. A new functionality
I have some prerequisites required, and one of the prerequisites requires a reboot if
I have some prerequisites required, and one of the prerequisites requires a reboot if
Installing Visual Studio 2010, installation stops at Visual Studio 2010 Prerequisites x64 I have:

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.