difference about threadings in iphone
<p>I am working on thread in Iphone. Can anyone explain the difference between         </p>

<pre><code>[NSThread detachNewThreadSelector:@selector(loadButtonInfo:) toTarget:self withObject:buttonInfo];
</code></pre>

<p>and</p>

<pre><code>[self performSelectorOnMainThread:@selector(loadButtonInfo:) withObject:buttonInfo waitUntilDone:NO];
</code></pre>
