macOS¶

The Toga backend for macOS is toga-cocoa.
Prerequisites¶
toga-cocoa requires Python 3.10+, and macOS 11 (Big Sur) or newer.
Installation¶
toga-cocoa is installed automatically on macOS machines (machines that report sys.platform == 'darwin'), or can be manually installed by running invoking:
$ python -m pip install toga-cocoa
Implementation details¶
The toga-cocoa backend uses the AppKit Objective-C API, also known as Cocoa.
The native APIs are accessed using Rubicon Objective-C.