title: Bad Access error for updateLabels method
body: <p>Am getting a bad access error for an updateLabels method, but can't figure it out. Here is the code:</p>
  
  <p>BullsEyeViewController.m</p>
  
  <pre><code>#import "BullsEyeViewController.h"
  
  @interface BullsEyeViewController ()
  
  @end
  
  @implementation BullsEyeViewController
  {
      int _currentValue;
      int _targetValue;
  }
  
  - (void)viewDidLoad
  {
      [super viewDidLoad];
      // Do any additional setup after loading the view, typically from a nib.
      [self startNewRound];
      [self updateLabels];
  }
  
  -(void)startNewRound
  {
      _targetValue = 1 + arc4random_uniform(100);
      _currentValue = 50;
      self.slider.value = _currentValue;
  }
  
  -(void)updateLabels
  {
      self.targetLabel.text = [NSString stringWithFormat:@"%d", _targetValue]; //EXC_BAD_ACCESS (code = 2)
      // Convert the int into a string so that it will fit in the label as an outlet
      [self updateLabels];
  }
  
  - (void)didReceiveMemoryWarning
  {
      [super didReceiveMemoryWarning];
      // Dispose of any resources that can be recreated.
  }
  
  -(IBAction)showAlert
  {
      NSString *message = [NSString stringWithFormat:@"The value of the slider is: %d\nThe target value is %d", _currentValue, _targetValue];
  
      UIAlertView *alertView = [[UIAlertView alloc]
      initWithTitle:@"Hello World"
            message:message
           delegate:nil
  cancelButtonTitle:@"OK"
  otherButtonTitles: nil];
  
      [alertView show];
  
      [self startNewRound];
  }
  
  -(IBAction)sliderMoved:(UISlider *)slider
  {
      _currentValue = lroundf(slider.value);
  }
  
  @end
  </code></pre>