title: How to use background thread in swift?
body: <p>How to use threading in swift?</p>
  
  <pre><code>dispatchOnMainThread:^{
  
      NSLog(@"Block Executed On %s", dispatch_queue_get_label(dispatch_get_current_queue()));
  
  }];
  </code></pre>