Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Latest commit

 

History

History
59 lines (46 loc) · 1.92 KB

README.md

File metadata and controls

59 lines (46 loc) · 1.92 KB

Note

This project is no longer maintained. An alternative is the declarative framework Adwaita for Swift.

Libadwaita Icon

Libadwaita

GitHub · Contributor Docs

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:

  1. Install Homebrew.
  2. Install Libadwaita (and thereby GTK 4):
brew install libadwaita

Swift Package

  1. Open your Swift package in GNOME Builder, Xcode, or any other IDE.
  2. Open the Package.swift file.
  3. Into the Package initializer, under dependencies, 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