title: NSPredicate: "Unable to parse the format string '%@'"?
body: <p>I'm trying to build a query string or predicate but I keep getting this error,</p>
  
  <p>Basically what I can't understand is that this works fine:</p>
  
  <pre><code>NSPredicate *pred = [NSPredicate predicateWithFormat:@"(name contains[cd] 'o')"];
  </code></pre>
  
  <p>But this:</p>
  
  <pre><code>NSString *predString =  @"(name contains[cd] 'o')";
  NSPredicate *pred = [NSPredicate predicateWithFormat:@"%@", predString]; 
  </code></pre>
  
  <p>throws this:</p>
  
  <blockquote>
    <p><code>*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Unable to parse the format string "%@"'</code></p>
  </blockquote>