mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-08 18:02:43 +08:00
Drop instancetype from init methods since the compiler will infer it
This commit is contained in:
@@ -57,7 +57,7 @@ static RKManagedObjectStore *defaultStore = nil;
|
||||
}
|
||||
}
|
||||
|
||||
- (instancetype)initWithManagedObjectModel:(NSManagedObjectModel *)managedObjectModel
|
||||
- (id)initWithManagedObjectModel:(NSManagedObjectModel *)managedObjectModel
|
||||
{
|
||||
self = [super init];
|
||||
if (self) {
|
||||
@@ -73,7 +73,7 @@ static RKManagedObjectStore *defaultStore = nil;
|
||||
return self;
|
||||
}
|
||||
|
||||
- (instancetype)initWithPersistentStoreCoordinator:(NSPersistentStoreCoordinator *)persistentStoreCoordinator
|
||||
- (id)initWithPersistentStoreCoordinator:(NSPersistentStoreCoordinator *)persistentStoreCoordinator
|
||||
{
|
||||
self = [self initWithManagedObjectModel:persistentStoreCoordinator.managedObjectModel];
|
||||
if (self) {
|
||||
|
||||
Reference in New Issue
Block a user