README done! Welcome to CoreStore 4.0!

This commit is contained in:
John Estropia
2017-05-24 12:05:34 +09:00
parent d669569196
commit 35885b40de
11 changed files with 242 additions and 69 deletions

View File

@@ -624,14 +624,14 @@ public final class DataStack: Equatable {
}
@available(*, deprecated, message: "Use the new DataStack.init(schemaHistory:) initializer passing a LegacyXcodeDataModelSchema instance as argument")
@available(*, deprecated, message: "Use the new DataStack.init(schemaHistory:) initializer passing an UnsafeDataModelSchema instance as argument")
public convenience init(model: NSManagedObjectModel, migrationChain: MigrationChain = nil) {
let modelVersion = migrationChain.leafVersions.first!
self.init(
schemaHistory: SchemaHistory(
allSchema: [
LegacyXcodeDataModelSchema(
UnsafeDataModelSchema(
modelName: modelVersion,
model: model
)