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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:45:03+00:00 2026-06-06T19:45:03+00:00

I am having my core data model like this: EntityA <—->> EntityB <<—-> EntityC

  • 0

I am having my core data model like this:

EntityA <—->> EntityB <<—-> EntityC

Now, I want to get objects of EntityB where EntityC == nil.

I have thought about a lot of options:

The one I tried is:

ANY EntityB.EntityC == nil

Though this does not give an error, it does not work how I expect, because this searches all objects of EntityA, and even if one is not nil, it takes that object of EntityA.

So what I tried is:

ALL Participant.ParticipantCategory == nil

but this gives an error:

Terminating app due to uncaught exception
‘NSInvalidArgumentException’, reason: ‘Unsupported predicate (null)

I also tried using SubQueries, but did not work out. I have spent hours trying to solve it but no luck.

Any ideas?

  • 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-06T19:45:06+00:00Added an answer on June 6, 2026 at 7:45 pm

    I think your predicate should be just: Participant.ParticipantCategory == nil

    ANY keyword is described here. I think it is behaving as it should. And I’m not aware of an ALL keyword.

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

Sidebar

Related Questions

I've been trying to get to grips with Core Data and I'm having some
This is the Core Data object model I am working with (I am a
I am having issues creating, and understanding how to create a core data model
I am having a hard time understand Core Data for cocoa. Now I have
I was having problems adding objects to one of my core data objects that
I am having a problem trying to get a project with Core Data to
I'm having some trouble getting my Core Data entities to play nice and order
I am having trouble saving a photo into core data. I am trying to
Seem to be having some issues storing the current date in a core data
I'm just learning core data and mostly coping, but having a little bit of

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.