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?
to your account
I've created a KVO wrapper in past that uses string based key path. Swift 4.0 introduces `KeyPath` class that provides a lot more type safety when working with key paths.
I can't seem to find any normal public API that exposes string keypath from KeyPath object.
The only API I could find is this `_kvcKeyPathString` weird looking property. It's underscored (so if I understand this correctly, even though it's public, it's intended for private use only) and doesn't contain any comments.
Can I count on `_kvcKeyPathString` being backwards compatible when using Swift 4.x versions?
Is `_kvcKeyPathString` guaranteed to always return a value when working with objc classes only?
Is some new API being planned that exposes this functionality?
Why is the proper interpretation of `_`?
The text was updated successfully, but these errors were encountered:
No branches or pull requests