title: Difference between getting an Object using FetchResultController and ManagedObjectContext
body: <p>What's the difference between get elements from Core Data with FetchResultController or ManagedObjectContext??</p>
  
  <p>1) FetchResultController</p>
  
  <pre><code>NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init]; 
  [fetchRequest setEntity:[NSEntityDescription entityForName:@"Item" inManagedObjectContext: managedObjectContext]]; 
  
  NSSortDescriptor *sortDescriptorNameAscending = [[NSSortDescriptor alloc] initWithKey:@"name" ascending:YES];
  NSArray *sortDescriptors = [[NSArray alloc] initWithObjects:sortDescriptorNameAscending,nil];
  [fetchRequest setSortDescriptors:sortDescriptors];
  [sortDescriptorNameAscending release];
  
  NSFetchedResultsController *frc = [[NSFetchedResultsController alloc] initWithFetchRequest:fetchRequest managedObjectContext:managedObjectContext sectionNameKeyPath:nil cacheName:@"Lists"]; 
  </code></pre>
  
  <p>2) ManagedObjectContext</p>
  
  <pre><code>NSFetchRequest *request = [[NSFetchRequest alloc] init]; 
  [request setEntity:[NSEntityDescription entityForName:@"Item"  inManagedObjectContext:managedObjectContext]]; 
  NSError *error = nil; 
  NSArray *items = [ managedObjectContext executeFetchRequest:request error:&amp;error]; 
  </code></pre>