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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:23:10+00:00 2026-05-27T17:23:10+00:00

When editing a predicate with the Core Data Model Editor in Xcode 4.2.1, how

  • 0

When editing a predicate with the Core Data Model Editor in Xcode 4.2.1, how does one persist the updated predicate? Changing the value for the predicate does not seem to persist. The original predicate still applies to the fetched property.

Steps to reproduce:

  1. Create a fetched property (e.g. oddPages on entity Book with related entity Page)
  2. Set predicate to book == $FETCH_SOURCE && isEven != 0.
    (The Book entity should have a relationship to the Page entity, say it’s named ‘pages’. The Page entity should have an inverse relationship to the Book entity named ‘book’. The Page entity also has an attribute pageNumber and an attribute isEven which is set when the page is created based on the pageNumber. The logic of the predicate is deliberately incorrect in this step.)
  3. Build, run, and stop. Now correct the predicate to reflect ‘isEven == 0’.
  4. Build and run again. Notice the results fetched for the fetched property are from the original predicate.

Is this a bug or am I missing a key step to update a predicate on a fetched property using the Core Data Model Editor?

  • 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-27T17:23:10+00:00Added an answer on May 27, 2026 at 5:23 pm

    As far as I can tell. This is a bug or “feature”. To correct the predicate on an existing fetched property using the Core Data Model Editor, delete the fetched property and re-create it with the updated predicate.

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

Sidebar

Related Questions

When editing XAML in VS2008 SP1, the editor is really slow. devenv process seems
When editing Silverlight XAML in Visual Studio 2008, the Document Outline panel is not
Sometimes when I'm editing page or control the .designer files stop being updated with
Often while editing config files, I'll open one with vi and then when I
I am editing a c# WinForm solution and I do not understand the code
For example when editing various data files, the backup data is no use and
Editing UI Frame properties directly don't seem to work. i.e. scrollView.ContentSize.Width = 100; doesn't
When editing JSPs in Eclipse, I periodically get stack overflows. Once I get one,
I am editing custom control in control editor of Visual Studio 2008 My custom
while editing cell value in JTable it's value suddenly appears in exponential form(i.e. 1.7E10)

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.