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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:34:45+00:00 2026-06-07T02:34:45+00:00

My project has a need to cache on the iOS device data retrieved from

  • 0

My project has a need to cache on the iOS device data retrieved from a remote web service. The idea is the view controller will ask the cache for all the document objects it has, for example, and in the background will request a refresh from the web service, returning to the view controller any new document objects it received. I’m wondering whether it’s possible for the view controllers to use a NSFetchedResultsController that retrieves whatever objects matching the criteria it can find locally in the database, and also asynchronously asks for data refreshes from the web service in the background. In doing so, the NSFetchedResultsController would update the database and of course trigger the didChangeObject method of the FetchedResultsController delegate so the views can update accordingly. Does that sound reasonable? Do you have any suggestions for implementing such a thing?

  • 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-07T02:34:46+00:00Added an answer on June 7, 2026 at 2:34 am

    For our project, we ended up being able to simplify the problem quite a bit. However, on the journey of discovery, we came across NSIncrementalStore, which is just the ticket for problem posed in the question. It essentially gives you control over how and where CD persists data. Here’s a really nice post about it, and an easy-to-understand example. Admittedly there’s not a lot of doco around about it, but these posts really helped me get going.

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

Sidebar

Related Questions

I need to query the following data from mongodb: Project has many Regions, a
My view model MyViewModel has a property MyProperty that i need to read/save from/to
My project has multiple themes with different colors. I need to skin certain textboxes
in my project i need a tow tables each of it has about 2000
I need to know, what renderer has been used in the Sintel project. I
The project I'm working on has quite a lot of look up data associated
I need create a very big project, the project has a lot of tables
My project has a remote dependency which is really just a zip of certain
I'm working in a C/C++ mixed project that has the following situation. I need
My project has the need to build consistent urls similar to the ones here

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.