title: Simultaneous inserts in CoreData in iOS
body: <p>Suppose if i have thousand  record coming from the web service API and if i want to add those record in core data in privateContext. How can i do it simultaneous and not linearly. </p>
  
  <p>Can i apply something like <code>dispatch_apply</code> and run </p>
  
  <pre><code>let entity:NSEntityDescription =  NSEntityDescription.entityForName(entityName,
              inManagedObjectContext:managedContext)!
  let managedObject:NSManagedObject = NSManagedObject(entity: entity,
              insertIntoManagedObjectContext: managedContext)
  </code></pre>
  
  <p>simultaneously ?</p>