You can tell Swift is fundamentally static because otherwise there couldn’t even be talk about the compiler optimizing the dynamic parts.
@mjtsai You can't do that today, either. Any change to NSFont's impl could break hacks like this.
-
-
@jckarter It’s not future proof, but it works great for debugging or temporarily working around a framework bug. -
@mjtsai Sure, but then those workarounds end up in production builds, and Foundation grows more scar tissue to work around the workaround. - View other replies
-
@mjtsai Longer term I think everyone's happier when components respect each other's boundaries. -
@jckarter Just used swizzling to work around a CorePDF crash. I’m not a fan of scar tissue, but it’s better than crashing.
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Michael Tsai
Joe Groff