title: Comparing UIViews
body: <p>I have the following (simplified) piece of code:</p>
  
  <pre><code>- (void)doSomethingWithView:(UIView *)theView{
  
      if ([theView isEqual:myFirstView]) {
          //do something;
      }else{
          //do something else;
           }
  }
  </code></pre>
  
  <p>I would expect that, depending on what View I send to this method, either "myFirstView" or "mySecondView", I would get different results. However, the condition always turns out FALSE.</p>
  
  <p>What am I doing wrong?</p>