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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:56:14+00:00 2026-06-17T16:56:14+00:00

I have following relationship hierarchy between core-data entities (managed objects): Entity1 > Entity2 >

  • 0

I have following relationship hierarchy between core-data entities (managed objects):

Entity1 > Entity2 > Entity3

There’s a one-to-one relationship between Entity1 and Entity2, and one-to-many relationship between Entity2 and Entity3.

I have a view controller that displays a list of Entity1 records, using NSFetchedResultsController. The UITableViewCell shows information from Entity1, Entity2 and Entity3. Now, the NSFetchedResultsControllerDelegate methods are automatically called when Entity1 object is added/updated/deleted, BUT when the related Entity2 or Entity3 records are added/updated/deleted, the delegate methods are not called.

In this situation, what’s the best or possible way to recognize that related records have been updated, and that UITableViewCell needs to be updated as well?

  • 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-17T16:56:15+00:00Added an answer on June 17, 2026 at 4:56 pm

    You need to make dirty the properties of the other entities. In other words, you should call

    [self willChangeValueForKey:@"someProperty"];
    [self didChangeValueForKey:@"someProperty"];
    

    on the entities you want to update.

    Here a sample solution that makes possible what you want to achieve.

    NSFetchedResultsController pitfall

    Hope that helps.

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

Sidebar

Related Questions

I have the following relationship between the entities. Company 1 ---* Appointments *---1 Employee
What's the right way to do this: I have the following relationship between entities
I have the following relationship defined in Core Data Person --> Worked <-- Job
Currently I have a database with the following relationships: One Client has multiple Entities
I have a Rails 3 app with the following relationship between models: Course ---[
I have the following relationship between two domain classes: class Emp { String name
I have one issue with retrieval Parent/Child relationship of type Folder Hierarchy Ideally, in
I have following two Entities that I am trying to relate (one to one)
We have the following relationship for our data: Users Have and belong to many
I have the following relationship: Post hasMany Comment Post belongsTo Category Post HABTM Tag

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.