The below is an off-site archive of all tweets posted by @mjtsai ever

July 23rd, 2015

@Kametrixom @owensd The class may not even exist at compile time.

via Tweetbot for Mac in reply to Kametrixom

@Kametrixom You still get to cast the return value from NSClassFromString() to make sure it’s what you think it is…

via Tweetbot for Mac in reply to Kametrixom

@jckarter Wow, that is super cool. Thanks for clarifying.

via Tweetbot for Mac in reply to jckarter

@danielpunkass @owensd @brentsimmons The example he gave seems to use pure Swift classes.

via Tweetbot for Mac in reply to danielpunkass

@danielpunkass @owensd @brentsimmons Yes, but why does the Objective-C runtime have access to non-Obj-C classes?

via Tweetbot for Mac in reply to danielpunkass

Worked around a bug where pages wouldn't display in Chrome on Mac OS X 10.11: code.google.com/p/chromium/iss…

via Tweetbot for Mac

@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.”

via Tweetbot for Mac in reply to optshiftk

@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.

via Tweetbot for Mac in reply to optshiftk

@optshiftk Right, but in Objective-C that doesn’t really affect the callsite.

via Tweetbot for Mac in reply to optshiftk

Web Design: The First 100 Years: mjtsai.com/blog/2015/07/2…

via IFTTT

@mjdrayton Although a few times I did have to restart to get it to work at all.

via Tweetbot for Mac in reply to mjdrayton

@mjdrayton It didn’t completely lose its connection, usually. More like lots of intermittent connects and disconnects.

via Tweetbot for Mac in reply to mjdrayton