silentflute.co.uk
silentfluteNSPredicates – SUBQuery on a parent-child relationship. I am currently working on a game where there is a parent-child relationship in a quite small array where;. Has many `Child` objects. Where 1 `Child` object can be owned by only 1 `Player`. And a `Player` can only ever own 1 `Child` per group. In the game, a `Child` object is called `Locomotive` (the game is about selling Locomotives) and a given `Player` can own a single locomotive in a given group. NSPredicate *predicate = [NSPredicate predicateWit...
http://silentflute.co.uk/