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

August 22nd, 2015

@grynspan @ameaijou @gparker python -c "from Foundation import *; print NSProcessInfo.processInfo().isOperatingSystemAtLeastVersion_"

via Tweetbot for Mac in reply to grynspan

@ameaijou @gparker @grynspan Yes, I just checked 10.9.5 and the method seems to be there (and work).

via Tweetbot for Mac in reply to ameaijou

@grynspan @gparker I know that’s what you recommend, but I've been bitten before by -respondsToSelector: and previously private API.

via Tweetbot for Mac in reply to grynspan

@gparker @grynspan calls to -mjtIsYosemiteOrBetter so it is very clear when I can eventually remove the check.

via Tweetbot for Mac in reply to gparker

@gparker @grynspan I do checks like this this way because: (1) method might have existed before, but undocumented (2) I end up with

via Tweetbot for Mac in reply to gparker

@grynspan Yeah, I never quite understood the old system. Always found myself hardcoding latest version since didn't have access to constant.

via Tweetbot for Mac in reply to grynspan

@grynspan Yeah, that’s what I use if the other version says it’s at least 10.10. Much more readable.

via Tweetbot for iΟS in reply to grynspan

Making Tab-Switching and Scrolling Faster in OmniFocus for Mac: mjtsai.com/blog/2015/08/2…

via IFTTT