title: Calling sleep(5); and updating text field not working
body: <p>I'm trying to sleep a method (see below), but rather than the <code>textLabel</code> changing from the value of <code>myTextLabelString</code>, waiting 5 seconds, changing to "sleep 5 worked", waiting 5 seconds and finally changing to "sleep 5 worked second time round".... it just goes from the value of <code>myTextLabelString</code>, waits 10 seconds, and then changes to "sleep 5 worked second time round".</p>
  
  <pre><code>- (void)textLabelChanger:(id)sender {
  
      NSString *myTextLabelString = [NSString stringWithFormat:@"%d", gameCountDown];    
  
      textLabel.text=myTextLabelString;
      sleep(5);
      textLabel.text=@"sleep 5 worked";
      sleep(5);
      textLabel.text=@"sleep 5 worked second time round";
      return;
  }
  </code></pre>