mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-23 16:54:11 +01:00
iOS 7 full support
This commit is contained in:
1 parent
928585029d
commit
ca49ea3a81
13 files changed
+400
-59
No files matched your search
@@ -42,7 +42,7 @@ public extension DataStack {
|
||||
*/
|
||||
public func addInMemoryStore(configuration configuration: String? = nil, completion: (PersistentStoreResult) -> Void) {
|
||||
|
||||
self.coordinator.performBlock {
|
||||
self.coordinator.performAsynchronously {
|
||||
|
||||
do {
|
||||
|
||||
@@ -438,7 +438,16 @@ public extension DataStack {
|
||||
}
|
||||
|
||||
let migrationOperation = NSBlockOperation()
|
||||
migrationOperation.qualityOfService = .Utility
|
||||
#if USE_FRAMEWORKS
|
||||
|
||||
migrationOperation.qualityOfService = .Utility
|
||||
#else
|
||||
|
||||
if #available(iOS 8.0, *) {
|
||||
|
||||
migrationOperation.qualityOfService = .Utility
|
||||
}
|
||||
#endif
|
||||
operations.forEach { migrationOperation.addDependency($0) }
|
||||
migrationOperation.addExecutionBlock { () -> Void in
|
||||
|
||||
|
||||
Reference in new issue
Block a user