1.6 KiB
+++ title = "AppKit" description = "A backend for native macOS apps. Integrate with SwiftUI and AppKit." draft = true [taxonomies] tags = ["macOS", "Aparoksha"] +++
It is not recommended to use this package to create apps specifically for macOS. Directly use SwiftUI or AppKit.
Browse the documentation and find the source code here.
The Backend
The AppKit backend is based on the AppKit package provided by Apple. Most of the views are based on existing SwiftUI views thanks to the interoperability feature.
The Development Environment
You need a machine running macOS to get started developing Mac apps. It is recommended to use the Xcode IDE.
To avoid having to create an Xcode project file, use the Swift Bundler and configure Xcode accordingly.
{{ image(url="Environment.png", alt="Xcode and a simple native macOS app" transparent=true) }}
Distribution
Find more information about compiling the Swift executable target into an app in Swift Bundler's documentation.
Aparoksha Interoperability
This backend is part of the Aparoksha package. If you use default Aparoksha elements, they will render correctly on GNOME. You can call platform-specific widgets for GNOME as well.