@cocoadog Thanks for sharing.
@Kametrixom @owensd The class may not even exist at compile time.
@Kametrixom You still get to cast the return value from NSClassFromString() to make sure it’s what you think it is…
@jckarter Wow, that is super cool. Thanks for clarifying.
@jckarter @danielpunkass @owensd @brentsimmons Can we rely on it finding classes going forward?
@danielpunkass @owensd @brentsimmons The example he gave seems to use pure Swift classes.
@danielpunkass @owensd @brentsimmons Yes, but why does the Objective-C runtime have access to non-Obj-C classes?
@owensd @brentsimmons Have you seen this? mjtsai.com/blog/2015/07/2… spanware.com/blog/files/81b…
Worked around a bug where pages wouldn't display in Chrome on Mac OS X 10.11: code.google.com/p/chromium/iss…
@irons Typo. Thanks!
@optshiftk “try!” doesn’t mean “I don’t care about the error details.” It means “I know this will succeed, so crash if it doesn’t.”
Dynamic Swift: mjtsai.com/blog/2015/07/2…
@optshiftk The caller can just pass NULL if it doesn’t care. Nothing else changes. With Swift, the caller has to add do-catch blocks.
@optshiftk Right, but in Objective-C that doesn’t really affect the callsite.
init? vs. init throws: mjtsai.com/blog/2015/07/2…
Keyboard Maestro 7: mjtsai.com/blog/2015/07/2…
Perl 6 Due This Year: mjtsai.com/blog/2015/07/2…
Web Design: The First 100 Years: mjtsai.com/blog/2015/07/2…
The Lagging Mac App Store: mjtsai.com/blog/2015/07/2…
@mjdrayton Although a few times I did have to restart to get it to work at all.
@mjdrayton It didn’t completely lose its connection, usually. More like lots of intermittent connects and disconnects.