Hi!
I have an Core Data entity called Album; an album has a relationship to Song entities (called songs), and each Song has an arbitrary count of Tag entities (in a tags property), tags have a name. Now I want to check whether any of the songs in an Album contain a Tag; using a single NSPredicate.
An ideas that came to mind was:
[NSPredicate predicateWithFormat: @"ANY (ANY songs).tags LIKE %@", someTagName];
But this causes an error at runtime ("Unable to parse the format string"). I tried various variations, without success.
Is there any way to do this?