mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-04-24 17:48:32 +02:00
marked experimental methods as private to prevent accidental usage
This commit is contained in:
@@ -102,7 +102,7 @@ public extension DataStack {
|
|||||||
/**
|
/**
|
||||||
EXPERIMENTAL
|
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(
|
self.upgradeSQLiteStoreIfNeeded(
|
||||||
fileURL: applicationSupportDirectory.URLByAppendingPathComponent(
|
fileURL: applicationSupportDirectory.URLByAppendingPathComponent(
|
||||||
@@ -117,7 +117,7 @@ public extension DataStack {
|
|||||||
/**
|
/**
|
||||||
EXPERIMENTAL
|
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?
|
var metadataError: NSError?
|
||||||
let metadata: [NSObject: AnyObject]! = NSPersistentStoreCoordinator.metadataForPersistentStoreOfType(
|
let metadata: [NSObject: AnyObject]! = NSPersistentStoreCoordinator.metadataForPersistentStoreOfType(
|
||||||
|
|||||||
Reference in New Issue
Block a user