title: UIActivityIndicatorView/detachNewThreadSelector
body: <p>I am using UIActivityIndicatorView for the first time in an iPhone app, in order to let the user know that some process is on the way.
  To do that I use the detachNewThreadSelector method (also for the first time).</p>
  
  <p>I end up with code like this:</p>
  
  <pre><code>[myActivityIndicator startAnimating];
  [NSThread detachNewThreadSelector:@selector(theWorkToBeDone:) toTarget:self withObject:myObject];
  </code></pre>
  
  <p>The problem is that when I time the application. It takes about 5 times longer to perform the task when I use the code above than when I do not use UIActivityIndicatorView and detachNewThreadSelector. (In which case the user still waits, but a shorter time).</p>
  
  <p>Is this difference in timing what I should expect when using UIActivityIndicatorView ?</p>
  
  <p>Or am I making some beginner mistake due to my inexperience with both UIActivityIndicatorView and detachNewThreadSelector?</p>
  
  <p>Thanks for any bit of information.</p>