[swift-evolution] Smart KeyPaths
Kenny Leung
kenny_leung at pobox.com
Mon Mar 20 18:01:34 CDT 2017
Hi All.
I’m not sure I’m understanding this proposal properly. In (old) Cocoa, two places where key paths were used extensively was EOF/CoreData, and WebObjects. I’m wondering how Smart KeyPaths will solve these two problems:
1. fetching data from a database and stuff it into objects that are not known at compile time (since you’ve written the framework ahead of time)
2. Token replacing text in a template, like ${person.firstName}
Will there be some conversion of key paths to/from strings?
Thanks!
-Kenny
More information about the swift-evolution
mailing list