title: Change color of cell based on value out of array iOS
body: <p>Any idea what's wrong with this:</p>
  
  <pre><code> if ([status isEqualToString: @"green"])
       [[cell contentView] setBackgroundColor: [UIColor colorWithRed: 200 green: 191 blue: 231 alpha: 1]];
  </code></pre>
  
  <p>I defined the array in the @implementation. Xcode shows the following error:</p>
  
  <blockquote>
    <p>no visible <code>@interface</code> for <code>NSArray</code> declares the selector <code>isEqualToString:</code>.</p>
  </blockquote>
  
  <p>The idea is that the cell background becomes green when the string value in the array is equal to the string "green" (values in the <code>colorWithRed</code> are not the actual color green)</p>
  
  <p>Thanks in advance.</p>