Converter SQLite em CoreData

NSString* bundlePath = [[NSBundle mainBundle] bundlePath]; NSString* path = [NSString stringWithFormat:@”%@/CoreDataSourceFile.sqlite”, bundlePath]; SQLiteDatabase *database = [[SQLiteDatabase alloc] initWithPath:path]; NSArray *result = [database performQuery:@”SELECT * FROM entity”]; for (NSArray *row in …

Continuar lendo