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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:44:22+00:00 2026-06-14T11:44:22+00:00

Overview: Stanford iOS tutorials contains an implementation (header + implementation file) to help use

  • 0

Overview:

Stanford iOS tutorials contains an implementation (header + implementation file) to help use the table view while using core data.

Link – http://www.stanford.edu/class/cs193p/cgi-bin/drupal/downloads-2011-fall

File Name – CoreDataTableViewController.zip
CoreDataTableViewController.h contains the following text:

// Remember that once you create an NSFetchedResultsController, you CANNOT modify its @propertys. If you want new fetch parameters (predicate, sorting, etc.), create a NEW NSFetchedResultsController and set this class’s fetchedResultsController @property again.

Question

It sounds a bit strange, because in docs they mention situation when you change properties, and recommend some thing in this case… Look like some mistake, or I miss something. If i just change predicate and fetch again, everything works…

  • 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-14T11:44:24+00:00Added an answer on June 14, 2026 at 11:44 am

    It depends if you are using a cache or not. As it says in the documentation you link to:

    If you are using a cache, you must call deleteCacheWithName: before changing any of the fetch request, its predicate, or its sort descriptors. You must not reuse the same fetched results controller for multiple queries unless you set the cacheName to nil.

    If you are changing these properties, then it is probably simpler (this is a beginner’s course, and the creation of the fetched results controller is done outside of this sample code) to just tell you to create a new fetched results controller than to go into an explanation of caching, and clearing a cache, and so on.

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

Sidebar

Related Questions

Overview: Stanford iOS tutorials contains an implementation (header + implementation file) to help use
Overview I have a iOS project in which the view controller implementation which has
Overview I have an iOS project in which I am using Core data I
Overview I have an iOS project with a table view with the following specification:
Overview I have an iOS project which contains 2 navigation controllers as shown in
Overview: Using C#, I'm outputting a LINQ to SQL table of data into a
Overview I am doing an iOS project using the MVC architecture. Pardon my ignorance,
In the Implementation Overview section of the NSPersistentDocument Core Data Tutorial it says: …
Overview I have an iOS app which sends local notifications at specific dates. I
Overview: I have an advancedDataGrid that I am using a GroupingCollection on and I

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.