Files
RestKit/Code/CoreData/NSManagedObject+RKAdditions.m
Blake Watters 57183b364f Fix for warning emitted due to elimination of findOrCreateInstanceOfEntity:. Search Word functionality restored. closes #584
* Updates to the Core Data layer such that NSManagedObjectContexts now have a reference to the managed object store
they belong to.
* NSManagedObject instances can now return the managed object store they belong to.
* Relaxed the coupling to the sharedManager present within the RKSearchableManagedObject class.
* Expanded documentation of RKSearchableManagedObject
2012-03-14 17:08:02 -04:00

20 lines
397 B
Objective-C

//
// NSManagedObject+RKAdditions.m
// RestKit
//
// Created by Blake Watters on 3/14/12.
// Copyright (c) 2012 RestKit. All rights reserved.
//
#import "NSManagedObject+RKAdditions.h"
#import "NSManagedObjectContext+RKAdditions.h"
@implementation NSManagedObject (RKAdditions)
- (RKManagedObjectStore *)managedObjectStore
{
return self.managedObjectContext.managedObjectStore;
}
@end