title: Change UILabel text
body: <p>I am fairly new to objective-C and XCode.
  I am trying to update a text label on the screen,</p>
  
  <p>I call a function <code>loadData</code> in <code>viewDidLoad</code>, which works fine. I am trying to print a string that was generated in the <code>loadData</code> function.
  After that string is generated, I use:</p>
  
  <pre><code>self.MyLabel.text=string;
  </code></pre>
  
  <p>But does not update.
  I am using <code>IBOutlet</code> as well, I think it might be related to different threads but I am not sure.</p>
  
  <p>Any help is appreciated.</p>