Wednesday, November 29, 2017


UIDebuggingInformationOverlay is a private UIWindow subclass created by Apple, presumably to help developers and designers debug Apple’s own iOS apps.

Harder to get at in iOS 11, but this post shows how to use swizzling to get it working there too.

Monday, October 16, 2017

Checking if we're running with a user gesture

function isUserInteraction() {
  const detectionElement = window.document.createElement('audio');;
  return !detectionElement.paused;

Thursday, January 12, 2017


A primitive viewer application for macOS 'sample'-files taken with the Sample command line tool or the Activity Viewer utility.