A framework for creating user interfaces for Windows with an API similar to SwiftUI https://winui-swift.aparoksha.dev/documentation/winui_swift/
Go to file
david-swift 080483c89e
Some checks failed
SwiftLint / SwiftLint (push) Successful in 5s
Deploy Docs / publish (push) Has been cancelled
Add support for min/max width/height
2024-11-23 16:11:56 -08:00
.gitea Fix building docs failing 2024-10-15 10:21:14 +02:00
Sources Add support for min/max width/height 2024-11-23 16:11:56 -08:00
.gitignore Initial commit 2024-10-13 21:11:31 +02:00
.swiftlint.yml Fix style 2024-11-10 10:41:57 +01:00
LICENSE.md Initial commit 2024-10-13 21:11:31 +02:00
Package.swift Add support for command bars 2024-11-03 12:15:33 +01:00
README.md Fix README 2024-10-31 06:28:17 +01:00

WinUI for Swift

Documentation · Code

WinUI for Swift is a framework for creating user interfaces for Windows with an API similar to SwiftUI.

Table of Contents

Installation

Dependencies

Install Swift following the official instructions for Windows.

Then, download and run the installer for the Windows App SDK from the following link:

https://aka.ms/windowsappsdk/1.5/1.5.240205001-preview1/windowsappruntimeinstall-x64.exe

Swift Package

  1. Open your Swift package in VS Code or any other editor.
  2. Open the Package.swift file.
  3. Into the Package initializer, under dependencies, paste:
.package(url: "https://git.apaorksha.dev/aparoksha/winui-swift", from: "0.1.0")   

Usage

Find more information in the documentation.

Thanks

Dependencies

Other Thanks

  • DocC used for generating the documentation
  • SwiftLint for checking whether code style conventions are violated
  • The programming language Swift