title: Objective C unicode character comparisons
body: <p>How are unicode comparisons coded? I need to test exactly as below, checking for specific letters in a string. The code below chokes: warning: comparison between pointer and integer</p>
  
  <pre><code>for (charIndex = 0; charIndex &lt; [myString length]; charIndex++)
  {
     unichar testChar = [myString characterAtIndex:charIndex];
  
       if (testChar == "A")  
         // do something
       if (testChar == "B")
        // do something
       if (testChar == "C")
        // do something
  }
  </code></pre>