AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
macOS (operating system)

macOS is a series of proprietary operating systems developed by Apple for their own hardware. It's designed exclusively for the Apple ecosystem, providing users with a powerful and user-friendly platform to operate their devices.

Warning
At the moment, support of macOS in AUI Framework is in early stage and lacks a lot of features.

macOS shares its XNU kernel and codebase with iOS (operating system).

Due to closed nature of Apple platforms, a single macOS machine is considered as the only option for AUI/application development for all supported platforms at once:

Key considerations#

  • You'd want to support both architectures - x86_64 and Apple Silicon arm64 by producing universal binaries
  • Application menu is located in system's top bar instead of being inside the window
  • macOS hardware offers high density displays (marketing name: Retina), so you need to use density-independent dimension units such as _dp
  • Apple laptops include high quality touchpads with high resolution scroll and possibility for multitouch gestures

AUI implementation specifics#

Namespace AMessageBox
Implemented with NSAlert.
Member AMessageBox::NONE
Displays app's bundle icon.
Member APath::TEMP
Maps to system temp directory /tmp.
Member AUI_ENTRY
Only the main thread is able to initialize graphics context.