allow public access to bridgeToObjectiveC and bridgeToSwift properties

This commit is contained in:
John Estropia
2016-03-28 19:07:35 +09:00
parent eda398d758
commit b0b0df2861
29 changed files with 528 additions and 469 deletions

View File

@@ -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
}
}