From 71c80c3497b13fa8616a10f8c91a70b8687ccc15 Mon Sep 17 00:00:00 2001 From: John Rommel Estropia Date: Fri, 19 Jun 2015 04:05:56 +0900 Subject: [PATCH] marked experimental methods as private to prevent accidental usage --- CoreStore/Migrating/DataStack+Migration.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CoreStore/Migrating/DataStack+Migration.swift b/CoreStore/Migrating/DataStack+Migration.swift index 54c2ffd..871668b 100644 --- a/CoreStore/Migrating/DataStack+Migration.swift +++ b/CoreStore/Migrating/DataStack+Migration.swift @@ -102,7 +102,7 @@ public extension DataStack { /** EXPERIMENTAL */ - public func upgradeSQLiteStoreIfNeeded(fileName: String, configuration: String? = nil, completion: (PersistentStoreResult) -> Void) { + private func upgradeSQLiteStoreIfNeeded(fileName: String, configuration: String? = nil, completion: (PersistentStoreResult) -> Void) { self.upgradeSQLiteStoreIfNeeded( fileURL: applicationSupportDirectory.URLByAppendingPathComponent( @@ -117,7 +117,7 @@ public extension DataStack { /** EXPERIMENTAL */ - public func upgradeSQLiteStoreIfNeeded(fileURL: NSURL = defaultSQLiteStoreURL, configuration: String? = nil, completion: (PersistentStoreResult) -> Void) { + private func upgradeSQLiteStoreIfNeeded(fileURL: NSURL = defaultSQLiteStoreURL, configuration: String? = nil, completion: (PersistentStoreResult) -> Void) { var metadataError: NSError? let metadata: [NSObject: AnyObject]! = NSPersistentStoreCoordinator.metadataForPersistentStoreOfType(