title: iOS label does not update text with function in Swift
body: <p>This seemingly simple issue is driving me crazy... I am playing around with SwiftyJSON to grab remote data and here is a snippet from my ViewController class in Swift:</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
  
      self.statusLabel.text = "welcome"
  
      RemoteDataManager.getStatusUpdateFromURL { (statusData) -&gt; Void in
          let json = JSON(data: statusData)
          self.statusLabel.text = "this does not work"
          self.statusLabel.text = self.getMostRecentStatusUpdate(json) // also does not work
      }
  
  }
  </code></pre>
  
  <p>The statusLabel text is set to "welcome" but does not change afterwards. Funny though, anything I put inside <code>func getMostRecentStatusUpdate(_:)</code> with <code>println()</code> is printed to the console correctly, even if it comes from the remote json source (i.e. I know that this function works). My problem is that I cannot get the text printed to a UILabel instead of the console. I do not get any error messages.</p>
  
  <p>I am not yet really familiar with the sort of Swift function like <code>MyClass.myMethod { (myData) -&gt; Void in .... }</code> and I don't understand what's going wrong here. Any ideas?</p>