@iAnand the answer is incorrect. Using %@predicate strings is perfectly acceptable.
The problem is what the %@replacement in the object means, but you substitute in ""which is not an object, but char*. So you just need to add the character @before the double quotation marks to turn it from char*to NSString.
source
share