Libadwaita
Libadwaita is an imperative UI framework for GNOME.
Table of Contents
Installation
Dependencies
If you are using a Linux distribution, install libadwaita-devel
or libadwaita
(or something similar, based on the package manager) as well as gtk4-devel
, gtk4
or similar.
On macOS, follow these steps:
- Install Homebrew.
- Install Libadwaita (and thereby GTK 4):
brew install libadwaita
Swift Package
- Open your Swift package in GNOME Builder, Xcode, or any other IDE.
- Open the
Package.swift
file. - Into the
Package
initializer, underdependencies
, paste:
.package(url: "https://github.com/david-swift/Libadwaita", from: "0.1.0")
Usage
You can find an example project here. I encourage you to use Libadwaita indirectly with the declarative Adwaita wrapper.
Thanks
- The contributors, especially JCWasmx86 for having started the project
- SwiftLint for checking whether code style conventions are violated
- The programming language Swift
- SourceDocs used for generating the docs
- Libadwaita for the widgets