predicateWithFormat:
Creates and returns a new predicate formed by creating a new string with a specified format and parsing the result.
Declaration
+ (NSPredicate *) predicateWithFormat:(NSString *) predicateFormat;Parameters
- predicateFormat:
The format string for the new predicate.
Return Value
A new predicate formed by creating a new string with format and parsing the result.
Discussion
Pass a comma-separated list of trailing variadic arguments to substitute into format.
For details of the format of the format string and of limitations on variable substitution, see Predicate Format String Syntax.