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