SwiftKVC
SwiftKVC copied to clipboard
Reflection.ReflectionError with iOS 12 and the new Xcode beta
Hey when I try to use your library with the new Xcode 10 beta 2 and iOS 12 beta I have following issue:
protocol ITranslation: Value {
var example: String { get }
}
class TranslationBase: ITranslation {
var example = "example"
}
let key = "example"
do {
if let translationString = try translations.get(key: key) as? String {
print(translationString)
}
} catch let error {
print(error) // Reflection.ReflectionError unexpected
}
Do you have an idea how to solve this issue?