Skip to content

Instantly share code, notes, and snippets.

@gonzalezreal
Created October 24, 2012 07:03
Show Gist options
  • Select an option

  • Save gonzalezreal/3944473 to your computer and use it in GitHub Desktop.

Select an option

Save gonzalezreal/3944473 to your computer and use it in GitHub Desktop.
+ (id)twitterUserWithIdentifier:(NSNumber *)identifier inManagedObjectContext:(NSManagedObjectContext *)context
{
NSFetchRequest *fetchRequest = [self fetchRequestForTwitterUserWithIdentifier:identifier];
return [[context executeFetchRequest:fetchRequest error:NULL] lastObject];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment