# compnerd/swift-win32

A Windows application framework for Swift

Repository: https://github.com/compnerd/swift-win32
Canonical: https://ross.abutalabs.com/products/swift-win32
Homepage: https://compnerd.github.io/swift-win32/
Language: Swift
License: BSD-3-Clause
License Family: permissive
Topics: swift, windows, ui, systems, win32, swift-windows
Last push: 2025-10-15T20:03:11+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 47, release rhythm 35, longevity 100
- inputs: {"age_days": 2753, "days_push": 322, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1179, forks 76 (observed 2026-08-28T04:03:53.209002+00:00)

## What it is
Swift/Win32 is a Swift application framework providing an MVC model for building native Windows applications. It wraps the Win32 APIs with Swift-friendly interfaces, similar to what MFC did for C++.

## Use cases
- build native windows desktop apps in swift
- wrap win32 api in swift
- create mvc applications on windows
- write gui applications using swift on windows
- develop windows software without c++

## When to choose
- you want to write Windows GUI applications in Swift
- you need direct, Swift-friendly access to Win32 APIs
- you prefer an MVC structure for native Windows development

## When to avoid
- you need cross-platform UI that also runs on macOS or Linux
- you want a modern declarative UI framework rather than imperative Win32 wrappers
- your toolchain is older than Swift 5.4 or you cannot use the Windows SDK

## Facets
- artifact type: framework
- maturity: active
- function: ui-components, desktop-framework
- domain: windows, cross-platform, developer-tools
- platform: windows
- tags: win32, mvc, swift, gui-framework, native-windows

## Member repositories
- compnerd/swift-win32 (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:53.209002+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:25:33.469542+00:00, confidence not recorded.
  - readme: https://github.com/compnerd/swift-win32 (fetched 2026-08-28T04:03:53.209002+00:00, sha 3021ed1d1c91)
  - homepage: https://compnerd.github.io/swift-win32/ (fetched 2026-08-29T12:32:21.252712+00:00, sha 9dd31ebdc21c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
