mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-01-12 22:51:50 +08:00
Update to reflect change to designated initializer in superclass preventing the appropriate default value for savesToPersistentStore: to be set. refs #1000
This commit is contained in:
@@ -39,9 +39,10 @@
|
||||
|
||||
@implementation RKManagedObjectRequestOperation
|
||||
|
||||
- (id)initWithRequest:(NSURLRequest *)request responseDescriptors:(NSArray *)responseDescriptors
|
||||
// Designated initializer
|
||||
- (id)initWithHTTPRequestOperation:(RKHTTPRequestOperation *)requestOperation responseDescriptors:(NSArray *)responseDescriptors
|
||||
{
|
||||
self = [super initWithRequest:request responseDescriptors:responseDescriptors];
|
||||
self = [super initWithHTTPRequestOperation:requestOperation responseDescriptors:responseDescriptors];
|
||||
if (self) {
|
||||
self.savesToPersistentStore = YES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user