https://pyobjc.readthedocs.io Especially the examples.