Skip to content

Instantly share code, notes, and snippets.

@quellish
Created September 29, 2014 07:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save quellish/2c24d1b28e16f6c30387 to your computer and use it in GitHub Desktop.
Save quellish/2c24d1b28e16f6c30387 to your computer and use it in GitHub Desktop.
Managed object property access
[[managedObject managedObjectContext] performBlock:^{
NSString *value = [managedObject someValue];
[NSOperationQueue mainQueue] addOperationWithBlock:^{
[[self label] setText:value];
}];
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment