title: Understanding Multithreading in iOS
body: <p>I am trying to understand multi-threading on iOS in more detail. I went through some of the class references like <code>NSThread</code>, <code>NSRunLoop</code>, <code>NSTask</code>..</p>
  
  <p>First of all as indicated on the following link:
  <a href="https://stackoverflow.com/questions/9304253/use-of-nsrunloop-for-avoiding-event-driven-code">use of runloop</a></p>
  
  <p><code>Runloop</code> runs within a <code>Thread</code>. </p>
  
  <p>So why do we need to define our own <code>Runloop</code> in our app? In the case of <code>NSThread</code> it is useful because some of time-consuming processes can run in a separate thread so that the app will still be responsive on the main thread.</p>