title: Using double quotes within a string
body: <p>I am constructing database queries that include double quotes (") in Xcode.
  For example I have this line of code to generate my query:</p>
  
  <pre><code>NSString *query = [NSString stringWithFormat:@"SELECT id FROM site WHERE name = \"%@\"", siteName];
  </code></pre>
  
  <p>where</p>
  
  <pre><code>siteName = "TestSite"
  </code></pre>
  
  <p>Everything worked fine in Xcode 5 I would get the correct string:</p>
  
  <pre><code>query = "SELECT id FROM site WHERE name = "TestSite""
  </code></pre>
  
  <p>After upgrading to Xcode 6, if I run the exact same code then the escape sequence doesn't work and I get:</p>
  
  <pre><code>query = "SELECT id FROM site WHERE name = \"TestSite\""
  </code></pre>
  
  <p>I have even tried replacing the escape sequence with the the ASCII code for double quotes (34) like so:</p>
  
  <pre><code>NSString *query = [NSString stringWithFormat:@"SELECT id FROM site WHERE name = %c%@%c", 34, siteName, 34];
  </code></pre>
  
  <p>and I still get</p>
  
  <pre><code>query = "SELECT id FROM site WHERE name = \"TestSite\""
  </code></pre>
  
  <p>Does anyone know why this is happening?  Is there some obscure setting that is different in Xcode 6?</p>