<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Another language thing I ran into ā using classForKeyedArchiver/classForCoder is impossible because declarations from extensions cannot be overridden yet.<div class=""><br class=""></div><div class="">For example Iād like to do:<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">internal</span> <span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">class</span> _NSCFString : <span style="font-variant-ligatures: no-common-ligatures; color: #4f8187" class="">NSMutableString</span> {</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">ā¦ </div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><div style="margin: 0px; line-height: normal;" class=""> <span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">override</span> <span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">var</span> classForCoder: <span style="font-variant-ligatures: no-common-ligatures; color: #703daa" class="">AnyClass</span> {</div><div style="margin: 0px; line-height: normal; color: rgb(79, 129, 135);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">return</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span>NSMutableString<span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #bb2ca2" class="">self</span></div><div style="margin: 0px; line-height: normal;" class=""> }</div><div style="margin: 0px; line-height: normal;" class="">}</div><div class=""><br class=""></div></div><div class="">There are a few ways I can work around it but perhaps we can put these extensions directly on NSObject for now?</div><div class=""><br class=""></div><div class="">ā Luke</div></div></div></body></html>