How decompose NSPredicate into components?

Posted by Victor on Stack Overflow See other posts from Stack Overflow or by Victor
Published on 2010-04-23T13:10:09Z Indexed on 2010/04/23 13:13 UTC
Read the original article Hit count: 337

Filed under:
|
|

Is there any common way to decompose an expression created by [NSPredicate predicateWithFormat] to objects NSComprasionPredicate, NSExpression and other?

For below example need to disassemble into components.

[NSPredicate predicateWithFormat:@"(0 != SUBQUERY(collection, $x, $x.name == "Name").@Count)"];

© Stack Overflow or respective owner

Related posts about core-data

Related posts about nspredicate