mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-21 00:49:49 +01:00
Deprecation of enum CoreStore, reorganize global symbols
This commit is contained in:
@@ -33,6 +33,7 @@ import Foundation
|
||||
|
||||
- SeeAlso: `CoreStore`
|
||||
*/
|
||||
@available(*, deprecated, message: "Call methods directly from the CSDataStack instead")
|
||||
@objc
|
||||
public final class CSCoreStore: NSObject {
|
||||
|
||||
@@ -45,14 +46,8 @@ public final class CSCoreStore: NSObject {
|
||||
@objc
|
||||
public static var defaultStack: CSDataStack {
|
||||
|
||||
get {
|
||||
|
||||
return CoreStore.defaultStack.bridgeToObjectiveC
|
||||
}
|
||||
set {
|
||||
|
||||
CoreStore.defaultStack = newValue.bridgeToSwift
|
||||
}
|
||||
get { return Shared.defaultStack.bridgeToObjectiveC }
|
||||
set { Shared.defaultStack = newValue.bridgeToSwift }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user