title: compare UILabel Score
body: <p>I have 2 UILables:</p>
  
  <p>myScore.text; and hisScore.text;</p>
  
  <p>When my NSTimer reach 0, I have this code:</p>
  
  <pre><code>if (MainInt &lt;= 0) {
          [Mytimer invalidate];
  
          if (myScore.text &lt; hisScore.text) {
              UIAlertView *win = [[UIAlertView alloc]initWithTitle:@"Congrats" message:@"You WIN" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
              [win show];
          }
          else if(myScore.text &gt; hisScore.text) {
              UIAlertView *lose = [[UIAlertView alloc]initWithTitle:@"Hmmmm" message:@"You lose :(" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
              [lose show];
          }
  
          else if(myScore.text == hisScore.text) {
              UIAlertView *tie = [[UIAlertView alloc]initWithTitle:@"Not Bad" message:@"No winners. TIE" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
              [tie show];
          }
      }
  </code></pre>
  
  <p>How can I compare, if my score is > than his score? my code doesn't work. Help please.</p>