This commit is contained in:
John Estropia
2016-03-28 19:35:09 +09:00
parent b0b0df2861
commit e9ac8629a1
4 changed files with 5 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ internal extension NSManagedObjectModel {
// MARK: Internal
@nonobjc
internal class func fromBundle(bundle: NSBundle, modelName: String, modelVersionHints: Set<String> = []) -> NSManagedObjectModel {
internal static func fromBundle(bundle: NSBundle, modelName: String, modelVersionHints: Set<String> = []) -> NSManagedObjectModel {
guard let modelFilePath = bundle.pathForResource(modelName, ofType: "momd") else {