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
Referencing Objective-C key-paths #210
Conversation
Please clarify the semantics of key paths that refer into collections, e.g., the example:
how is #keypath supposed to determine that "firstName" is meant to be a property on the element type of the "friends" collection? Is it tied to some KVC convention? Conformance to the Collection protocol? Something else? Otherwise, the proposal looks ready to go up for review. |
Would it be enough to say that paths that reference:
Which leaves a whole for referencing properties on types inside a NSArray/NSDictionary/NSSet. Any ideas?
|
I added necessary details. |
Three minor comments and then I'd like to get this scheduled for review:
|
|
@DougGregor Do you need anything else before it's merged? |
My apologies for the delay; haven't have much -evolution time lately. |
Let's just start it now... |
After discussing this proposal on the mailing list, with only positive feedback, I am now ready for having it reviewed.