revert recent swizzling update. sorry about that

This commit is contained in:
John Estropia
2017-02-10 20:33:07 +09:00
parent 19fea6953a
commit 03973790a8
7 changed files with 232 additions and 222 deletions

View File

@@ -50,7 +50,8 @@ public protocol CoreStoreLogger {
/**
When `true`, all `NSManagedObject` attribute and relationship access will raise an assertion when executed on the wrong transaction/datastack queue. Defaults to `false` if not implemented.
*/
var enableObjectConcurrencyDebugging: Bool { get set }
// TODO: test before release (rolled back)
// var enableObjectConcurrencyDebugging: Bool { get set }
/**
Handles log messages sent by the `CoreStore` framework.
@@ -99,11 +100,12 @@ public protocol CoreStoreLogger {
extension CoreStoreLogger {
public var enableObjectConcurrencyDebugging: Bool {
get { return false }
set {}
}
// TODO: test before release (rolled back)
// public var enableObjectConcurrencyDebugging: Bool {
//
// get { return false }
// set {}
// }
public func abort(_ message: String, fileName: StaticString, lineNumber: Int, functionName: StaticString) {