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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:59:10+00:00 2026-05-16T20:59:10+00:00

I would like to know if I can do this VIEW 1: use NSFetchedResultsController

  • 0

I would like to know if I can do this

VIEW 1: use NSFetchedResultsController on TABLEA to retrieve the data, display in a table view and take actions to save it

    NSFetchedResultsController *aFetchedResultsController = [[NSFetchedResultsController alloc] initWithFetchRequest:fetchRequest managedObjectContext:referringObject sectionNameKeyPath:nil cacheName:@"TABLEA"];

and then in VIEW 2 use NSFetchedResultsController on the SAME table i.e. TABLEA to retrieve the data without table view and go back to VIEW 1 to save that previous managed object ??

  • 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-05-16T20:59:10+00:00Added an answer on May 16, 2026 at 8:59 pm

    TABLEA is not an SQL table. Core Data is not SQL. In this case, TABLEA is just the fetched results controller’s (FRC) cache file. Passing the same cache between controllers would do nothing because as soon as you changed anything, the cache would refresh itself anyway. You can in principle pass the FRC itself but this is never done because it gets messy.

    Managed object instances are attached to managed object contexts and not to fetches or fetched results controller. If you want to pass a managed object between view controllers you pass the object itself. If you want to save the context in different controllers then you pass the context as well. The fetches don’t enter into it.

    Fetches/FRC are usually specific to a particular view-controller because each view-controller needs to display a specific subset of data in a specific sort order so each view-controller needs to customize its own fetch.

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

Sidebar

Related Questions

(please excuse that I didn't use aliases). I would like my query output to
I would like to remove/delete a migration file. How would I go about doing
I would like to update my SQL lite database with the native update-method of
I would like to get a sum from a column, with and without a
My question is about memory use and objects in actionscript 2. If I have
I know its probably possible, but is it practical and doable to try and
I'm trying to write test harness for part of my Android mapping application. I
I want to have generalised email templates. Currently I have multiple email templates with
I want the messagebox to only show if the number is equal to 0.
There doesn't seem to be any tried and true set of best practices to

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.