title: Fetching Core Data in the background
body: <p>I have a Navigation View with a Table View, when a row is clicked, the row indexPath is passed to the next view.</p>
  
  <p>in the Details view viewDidLoad, i am fetching data from Core Data. i use the fetching from the application delegate</p>
  
  <p><code>[appDelegate loadItem:i];</code></p>
  
  <p>As you can see i am passing one integer only which carries the row number.</p>
  
  <p>the question is:
  How can i make this call process in another thread.(in the background) 
  I need this because sometimes the result of the fetch is too big, so the processing takes 3 seconds delaying pushing the Details View.</p>
  
  <p>I need to display an Activity Indicator for the three seconds, so i need to put the Fetch in another thread to be able to use the UI for the indicator while the fetch is being processed.</p>
  
  <p>I want the simplest way as i am a newbie. Posting some codes will be great. 
  or links :)</p>