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 29715462f8
Some checks failed
SwiftLint / SwiftLint (push) Successful in 4s
Deploy Docs / publish (push) Has been cancelled
Fix window not draggable
2024-11-01 08:42:48 +01:00
.gitea Fix building docs failing 2024-10-15 10:21:14 +02:00
Sources Fix window not draggable 2024-11-01 08:42:48 +01:00
.gitignore Initial commit 2024-10-13 21:11:31 +02:00
.swiftlint.yml Fix style violations 2024-10-13 21:30:10 +02:00
LICENSE.md Initial commit 2024-10-13 21:11:31 +02:00
Package.swift Export Core target 2024-10-16 22:18:39 +02: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