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 ba5c0a97c5
Some checks are pending
Deploy Docs / publish (push) Waiting to run
SwiftLint / SwiftLint (push) Successful in 6s
Fix back button not selecting settings item
2024-11-11 05:57:20 +01:00
.gitea Fix building docs failing 2024-10-15 10:21:14 +02:00
Sources Fix back button not selecting settings item 2024-11-11 05:57:20 +01: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