mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-14 21:03:51 +01:00
allow public access to bridgeToObjectiveC and bridgeToSwift properties
This commit is contained in:
1 parent
eda398d758
commit
b0b0df2861
29 files changed
+528
-469
No files matched your search
@@ -82,7 +82,7 @@ public enum CoreStoreError: ErrorType, CustomStringConvertible, CustomDebugStrin
|
||||
public var description: String {
|
||||
|
||||
// TODO:
|
||||
return self.objc.description
|
||||
return self.bridgeToObjectiveC.description
|
||||
}
|
||||
|
||||
|
||||
@@ -123,7 +123,7 @@ public enum CoreStoreError: ErrorType, CustomStringConvertible, CustomDebugStrin
|
||||
|
||||
internal init(_ error: ErrorType?) {
|
||||
|
||||
self = error.flatMap { $0.swift } ?? .Unknown
|
||||
self = error.flatMap { $0.bridgeToSwift } ?? .Unknown
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user