title: Why isn't my UILabel being changed?
body: <p>Why isn't my UILabel being changed? I am using the following code, and nothing is happening:</p>
  
  <pre><code>- (void)awakeFromNib {
      percentCorrect.adjustsFontSizeToFitWidth;
      percentCorrect.numberOfLines = 3;
      percentCorrect.minimumFontSize = 100;
  }
  </code></pre>
  
  <p>Here is my Implemintation code:</p>
  
  <pre><code>- (void) updateScore {
      double percentScore = 100.0 * varRight / (varWrong + varRight);
      percentCorrect.text = [NSString stringWithFormat:@"%.2f%%", percentScore];
  }
  
  - (void)viewDidLoad {
      percentCorrect.adjustsFontSizeToFitWidth = YES;
      percentCorrect.numberOfLines = 3;
      percentCorrect.minimumFontSize = 100;
      percentCorrect.text = @"sesd";
  }
  
  
  - (void)correctAns {
      numberRight.text = [NSString stringWithFormat:@"%i Correct", varRight];
  }
  
  -(void)wrongAns {
      numberWrong.text = [NSString stringWithFormat:@"%i Incorrect", varWrong];
  }
  
  #pragma mark Reset Methods
  - (IBAction)reset:(id)sender; {
      NSString *message = @"Are you sure you would like to reset?";
      self.wouldYouLikeToReset = [[UIAlertView alloc] initWithTitle:@"Reset?" message:message delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:nil];
      [wouldYouLikeToReset addButtonWithTitle:@"Continue"];
      [self.wouldYouLikeToReset show];
      // Now goes to (void)alertView and see's what is being pressed!
  }
  
  - (void)alertView:(UIAlertView *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex {
      if (buttonIndex == 0)
      {
          NSLog(@"Cancel button pressed");
      }
      else
      {
          varRight = 0;
          varWrong = 0;
          [self wrongAns];
          [self correctAns];
          percentCorrect.text = [NSString stringWithFormat:@"0.0%%"];
  
      }
  }
  
  #pragma mark Button Action Methods
  
  - (IBAction)right:(id)sender; {
      varRight++;
      [self correctAns];
      [self updateScore];
  }
  
  - (IBAction)wrong:(id)sender; {
      varWrong++;
      [self wrongAns];
      [self updateScore];
  }
  
  
  - (IBAction)subOneRight:(id)sender {
      if (varRight &gt; 0 ) {
          varRight--;
          [self correctAns];
          [self updateScore];
      }
  }
  
  
  - (IBAction)subOneWrong:(id)sender {
      if (varWrong &gt; 0) {
          varWrong--;
          [self wrongAns];
          [self updateScore];
      }
  }
  
  -(IBAction)addHalfCredit:(id)sender;
  {
      varWrong++;
      varRight++;
      [self wrongAns];
      [self correctAns];
      [self updateScore];
  }
  
  
  @end
  </code></pre>
  
  <p>Any ideas? 
  Thanks</p>