Wednesday July 06, 2011

What Manner of Dark NSPredicate Magic is This?

Dave DeLong of Fun With Objective-C tells a frightening tale of NSPredicate magic.

It’s using five nested SUBQUERY expressions. In other words, a SUBQUERY within a SUBQUERY within a SUBQUERY within a SUBQUERY within a SUBQUERY.

For the brave among us, there’s good examples here for subqueries and key value coding syntax.