objective c - Predicate and distinct objects -


I have the unit unit and tags Relationship to many others

I am using NSFetchedResultsController to manage the data I need unit object by NSFetchedResultsController < / Code> condition is to return to Tag.show == YES . I'm not sure how to feed it all at NSFetchedResultsController Set the unit to unit or tag how to make it

example:

I have 6 Tags objects tag1 ... tag6 and 3 unit objects unit1, unit2, unit 3 . Tag 1, Tag 2 unit 1, tag 3, tag 4 are pointing at unit 2. Tag 1 ... Tags 4 found show == yes condition. So I should finally get the Uni1 and Unit 2 in the NSFetchedResultsController .

On a unit unit "any tag. Show = = Yes "to bring with a prediction.

This unit will return examples that show tags = in one or more related tags examples. Brings different objects back, so you do not have to do anything else


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -