mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-23 20:31:13 +08:00
Remove object literal array access usage
This commit is contained in:
@@ -60,7 +60,7 @@ static char NSManagedObject_RKManagedObjectStoreAssociatedKey;
|
||||
}
|
||||
|
||||
if ([objects count] == 1) {
|
||||
return objects[0];
|
||||
return [objects objectAtIndex:0];
|
||||
}
|
||||
|
||||
return nil;
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
self.targetObjectID = [(NSManagedObject *)self.targetObject objectID];
|
||||
}
|
||||
}];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL)prepareURLRequest
|
||||
|
||||
Reference in New Issue
Block a user