title: How to check the colour of the text on a UIButton?
body: <p>Sounds simple, right? Well I've Googled over a dozen search strings and still cannot find the answer. </p>
  
  <p>To set the colour we implement the following code:</p>
  
  <pre><code>[_myUIButton setTitleColor:[UIColor blueColor] forState:UIControlStateNormal];
  </code></pre>
  
  <p>But what about testing to see what the colour is of the text of the button??? Surely this is possible to do, right?</p>
  
  <p>Shouldn't the code be something like this: </p>
  
  <pre><code>if([_myUIButton.textColor isEqual:[UIColor blueColor]])
  {
      // then true
  }
  </code></pre>
  
  <p>This code won't work with the button title text colour, but someone must know how it can be done. </p>
  
  <p>Please help.</p>