Skip to content

alexvinidiktov/swift-windows-application

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift on Windows Samples Apps by arasan01

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

It discloses how to standardize code on iOS, macOS, and Windows, and how to use TCA and GRDB.swift in a multi-platform environment.

Technologies included

  • How to standardize code on Windows, iOS, and macOS
  • How to set up Swift on Windows easily
  • VSCode settings
  • How to build Windows applications using The Composable Architecture (TCA)
  • How to use SQLite with GRDB.swift
  • How to create a Windows application using the demo app included in GRDB.swift
  • How to app that microsoft's official tutorial
  • How to build practical image processing apps in collaboration with more external libraries

Setup

Requirements

Run requirement.ps1. Set powershell policy Set-ExecutionPolicy Bypass if can not run script.

Note that this adds a development environment to the overall system, so be careful if you have already created a development environment. It is not a powerful script.

Install latest Swift SDK from thebrowsercompany/swift-build

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

Languages

  • Swift 96.8%
  • PowerShell 3.2%