mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-28 20:55:32 +08:00
Cleaned up the naming on RKManagedObjectStore to primaryManagedObjectContext and managedObjectContextForCurrentThread
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user