Created
September 29, 2014 07:46
-
-
Save quellish/2c24d1b28e16f6c30387 to your computer and use it in GitHub Desktop.
Managed object property access
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[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