mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-04 20:41:18 +08:00
Docs for RKManagedObjectRequestOperation
This commit is contained in:
@@ -123,10 +123,10 @@
|
||||
[self.privateContext performBlockAndWait:^{
|
||||
NSManagedObject *backgroundThreadObject = [self.privateContext existingObjectWithID:self.targetObjectID error:&_blockError];
|
||||
if (backgroundThreadObject) {
|
||||
RKLogInfo(@"Deleting local object %@ due to DELETE request", backgroundThreadObject);
|
||||
RKLogInfo(@"Deleting local object %@ due to `DELETE` request", backgroundThreadObject);
|
||||
[self.privateContext deleteObject:backgroundThreadObject];
|
||||
} else {
|
||||
RKLogWarning(@"Unable to delete object sent with DELETE request: Failed to retrieve object with objectID %@", self.targetObjectID);
|
||||
RKLogWarning(@"Unable to delete object sent with `DELETE` request: Failed to retrieve object with objectID %@", self.targetObjectID);
|
||||
RKLogCoreDataError(_blockError);
|
||||
_blockSuccess = NO;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user