… blur into something called… Until we Meet Again (…)
Profiling: Swift Compile Time
xcodebuild -scheme TARGET clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep .[0-9]ms | grep -v ^0.[0-9]ms | sort -nr > culprits.txt
Xcode 8: Disabling Networking Logs
Xcode 8 seems to be printing, for whatever reason, lots and lots of extra debug information.
We can shut it down by means of an environment variable:
OS_ACTIVITY_MODE = disable
Removing SSL Private Key Passwords
Yes. Again! For future self reference:
openssl rsa -in encrypted.key -out unencrypted.key
UITextView + Intrinsic Content Size
Note to future self: the trick to get intrinsicContentSize to properly work, in UITextView instances, is to simply disable scrolling in the UITextView instance.
That way… the intrinsic size will be properly calculated.