Cleaned up the naming on RKManagedObjectStore to primaryManagedObjectContext and managedObjectContextForCurrentThread

This commit is contained in:
Blake Watters
2012-03-09 09:02:21 -05:00
parent 9b6992a166
commit 1c59f5fc1e
10 changed files with 50 additions and 50 deletions

View File

@@ -142,7 +142,7 @@ extern NSString* const RKManagedObjectStoreDidFailSaveNotification;
Retrieves the Managed Object Context for the main thread that was initialized when
the object store was created.
*/
@property (nonatomic, retain, readonly) NSManagedObjectContext *context;
@property (nonatomic, retain, readonly) NSManagedObjectContext *primaryManagedObjectContext;
/**
Instantiates a new managed object context
@@ -154,6 +154,6 @@ extern NSString* const RKManagedObjectStoreDidFailSaveNotification;
* Because of the intrecacies of how Core Data works across threads it returns
* a different NSManagedObjectContext for each thread.
*/
- (NSManagedObjectContext *)contextForCurrentThread;
- (NSManagedObjectContext *)managedObjectContextForCurrentThread;
@end