Above is my Core Data relationships. This is a cocoa app with three NSTableView showing Genre, Album and Song. I want to filter GenreArrayController such that the Genre TableView only shows Genre name where Albums - Songs length is > 4.
When I Use Predicate on SongArrayController:
[_songArrayController setFilterPredicate:[NSPredicate predicateWithFormat:@"length > 4"]];
The result is Genre and Album remain unfiltered but Songs table do get filtered. Is is possible to reach Genre - Album - Songs using NSPredicate on Genre.
Am I doing this wrong way, can this be achieved by altering the Entities and their relations.