Drop instancetype from init methods since the compiler will infer it

This commit is contained in:
Blake Watters
2013-01-01 13:12:21 -05:00
parent a03191c291
commit 9dc08ca27b
26 changed files with 34 additions and 34 deletions

View File

@@ -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) {