Re: [swift-corelibs-dev] KVC dependent classes

2016-03-14 Thread Tony Parker via swift-corelibs-dev
Hi David, It’s likely that we’ll have to come up with some alternative API in these cases. For example, in NSProgress I could imagine a callback for progress updates instead of observing the properties. It’s not ideal but I don’t think we want to undertake a reinvention of KVO when we do not

[swift-corelibs-dev] KVC dependent classes

2016-03-14 Thread David Hart via swift-corelibs-dev
I was looking through Foundation for stuff to do and saw NSProgress, NSExpression and NSSortDescriptor. They seem to be most reliant on KVC, and as KVC is not available without the Objective-C runtime, I’m not sure what those classes are doing here. Are those classes doomed to be dropped? Or is