Skip to content

Instantly share code, notes, and snippets.

@minch
Created July 4, 2013 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minch/5927458 to your computer and use it in GitHub Desktop.
Save minch/5927458 to your computer and use it in GitHub Desktop.
success callback for db chooser
Task *task = self.task;
// Ensure we have the most fresh copy of the task
void (^successCallback)(void) = ^void(void) {
[[task managedObjectContext] refreshObject:task mergeChanges:YES];
// TODO: Do we need to call the segue here?
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment