Another language thing I ran into – using classForKeyedArchiver/classForCoder 
is impossible because declarations from extensions cannot be overridden yet.

For example I’d like to do:

internal class _NSCFString : NSMutableString {
… 
    override var classForCoder: AnyClass {
        return NSMutableString.self
    }
}

There are a few ways I can work around it but perhaps we can put these 
extensions directly on NSObject for now?

— Luke
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

Reply via email to