mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-30 06:11:50 +02:00
smart way to load entityNames from the model file
This commit is contained in:
@@ -30,15 +30,17 @@ import GCDKit
|
||||
/**
|
||||
Okay, okay. This one's shorter.
|
||||
*/
|
||||
typealias HCD = HardcoreData
|
||||
public typealias HCD = HardcoreData
|
||||
|
||||
|
||||
// MARK: HardcoreData
|
||||
// MARK: - HardcoreData
|
||||
|
||||
/**
|
||||
The HardcoreData struct is the main entry point for all other APIs.
|
||||
HardcoreData is the main entry point for all other APIs.
|
||||
*/
|
||||
public struct HardcoreData {
|
||||
public enum HardcoreData {
|
||||
|
||||
// MARK: Public
|
||||
|
||||
/**
|
||||
The default DataStack instance to be used. If defaultStack is not set before the first time accessed, a default-configured DataStack will be created.
|
||||
@@ -110,6 +112,8 @@ public struct HardcoreData {
|
||||
}
|
||||
|
||||
|
||||
// MARK: Private
|
||||
|
||||
private static let defaultStackBarrierQueue = GCDQueue.createConcurrent("com.hardcoreData.defaultStackBarrierQueue")
|
||||
|
||||
private static var defaultStackInstance: DataStack?
|
||||
|
||||
Reference in New Issue
Block a user