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

thebrowsercompany/windows-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift on Windows Samples Apps

Warning

This project uses an outdated snapshot of a subset of WinRT projections generated with swift-winrt, provided for illustration purposes. To use WinRT APIs in your Swift project, we recommend using swift-winrt directly to generate your own projections.

Sample apps for Swift on Windows, showcasing how to build Windows Apps using the Windows App SDK through the Swift/WinRT language projection.

Setup

Requirements

  1. Install latest Swift SDK from thebrowsercompany/swift-build
  2. Visual Studio Community with C++ build tools
  3. Make sure to have the appropriate version of the Windows App Runtime installed as mentioned here

VSCode

VSCode is the editor of choice for developing Windows apps on Swift. You can install it from https://code.visualstudio.com/download.

If you choose to use Visual Studio Code, you'll need to install these extensions:

Building

The build of the Windows applications is done through SPM. This can be done on the command line with swift build or in Visual Studio Code with Ctrl+Shift+B.

Debugging in VSCode

Debugging in VSCode is supported through LLDB. You can simply press F5 or navigate to the Run and Debug (Ctrl+Shift+D) pane.

About

Sample Apps for Swift on Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages