title: Why doesn't 'if' statement work? UIView hidden property comparison
body: <p>I have this if statement here:</p>
  
  <pre><code>    if ((_twoStone.hidden == YES) &amp;&amp; (_oneStone.hidden == YES)) {
          NSLog(@"Best move count: %.02f", [self starRating]);
      }
  </code></pre>
  
  <p>I can tell the statement when checking the constraints is not working because my output isn't even showing the NSLog.  </p>
  
  <p>Is this the right way to code something like that?  By the time the if statement is executed, the UIViews _oneStone and _twoStone hidden properties are both YES (which allows for the NSLog to do its thing).   I also tried</p>
  
  <pre><code>    if ((_twoStone.hidden) &amp;&amp; (_oneStone.hidden)) {
          // stuff
      }
  </code></pre>
  
  <p>but to no avail.</p>