Skip to content

Instantly share code, notes, and snippets.

View dsandler's full-sized avatar

Dan Sandler dsandler

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dsandler on github.
  • I am dsandler (https://keybase.io/dsandler) on keybase.
  • I have a public key ASCw2KENtyfAkSs7bbZh6ocwMRSKTOx6K0TZuPbXMMs4xgo

To claim this, I am signing this object:

#!/usr/bin/env python
# touchbar_demo.py
# [email protected]
# PyObjC proof of concept NSTouchBar implementation.
# Note that exceptions in the delegates will crash with "Illegal instruction: 4"
# rather than printing helpful stack traces; look in CrashReporter for the
# exception string.
import objc
from AppKit import \