I have an abstract object A, I also have two objects whose parents are Entity A. Each child has a different relationship with other objects.
I am trying to retrieve all child entities of Entity A for which the boolean value of isPublic is YES.
I had problems retrieving the Entities subclass in the past with respect to the selection, and I'm sure I just am not doing it right.
Thus, we could say, for example: • Object A is “Document”, • Object B is “Poem”, • Entity C is “Article”
All documents are a subclass of poems and articles, and the document has a property called isBookmarked, suer can bookmark a poem or article, and I need a way to get all the documents that are bookmarked. Entities B and C must be independent due to other relationships that they own.
I want to use NSFetchedResultsController for optimal Core Data and UITableView performance, and I'm struggling to put together a mixture of poems and articles.
What selection request will give me a mixture of poems and articles?

source share