Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reflection.ReflectionError with iOS 12 and the new Xcode beta #10

Open
armintelker opened this issue Jun 28, 2018 · 0 comments
Open

Reflection.ReflectionError with iOS 12 and the new Xcode beta #10

armintelker opened this issue Jun 28, 2018 · 0 comments

Comments

@armintelker
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant