title: How to get Core Data object from specific Object ID?
body: <p>I can easily get an object's ID in Core Data using the following code:</p>
  
  <pre><code>NSManagedObjectID *moID = [managedObject objectID];
  </code></pre>
  
  <p>However, is there a way to get an object out of the core data store by giving it a specific object ID? I know that I can do this by using an NSFetchRequest, like this:</p>
  
  <pre><code>NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init];
  NSEntityDescription *entity = [NSEntityDescription entityForName:@"Document" inManagedObjectContext:managedObjectContext];
  [fetchRequest setEntity:entity];
  
  NSPredicate *predicate = [NSPredicate predicateWithFormat:@"(objectID = %@)", myObjectID];
  [fetchRequest setPredicate:predicate];
  </code></pre>
  
  <p>However, I'd like to do it in a way that does not initiate its own fetch request. Any ideas?</p>