Re: [swift-corelibs-dev] NSKeyValueCoding and the Swift Foundation

2016-06-26 Thread Tony Parker via swift-corelibs-dev
Hi Lars, Unfortunately, I don’t think there is anything planned for Swift 3 in this area. Beyond that we just don’t have any concrete information yet. This is a pretty big topic, so it’s likely we’ll need to have some extended design discussions about what reflection or runtime dynamism in gene

Re: [swift-corelibs-dev] NSKeyValueCoding and the Swift Foundation

2016-06-25 Thread Lars Sonchocky-Helldorf via swift-corelibs-dev
To my understanding the real reason why this is currently not possible is rooted in the limitations of struct Mirror, which, for instance, lacks the support for writing and the reflection of methods. So it boils down to the following: Are there currently any plans to extend the capabilities of

Re: [swift-corelibs-dev] NSKeyValueCoding and the Swift Foundation

2016-06-12 Thread Philippe Hausler via swift-corelibs-dev
Both KVC and KVO require dynamic dispatching and selector manipulation that is not present in swift-corelibs-foundation (since everything is based on swift objects). > On Jun 12, 2016, at 10:54 AM, Lars Sonchocky-Helldorf via swift-corelibs-dev > wrote: > > Hi everybody, > > it came to my at

[swift-corelibs-dev] NSKeyValueCoding and the Swift Foundation

2016-06-12 Thread Lars Sonchocky-Helldorf via swift-corelibs-dev
Hi everybody, it came to my attention that the NSKeyValueCoding protocol which is a part of the Darwin-(ObjC-)Foundation (see https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Protocols/NSKeyValueCoding_Protocol/ ) is somehow omitted here: https://github.com/appl