Compare commits

...

2 Commits

Author SHA1 Message Date
756b80f2e7 Remove outdated warning 2025-02-08 13:37:29 +01:00
Tristan Labelle
4fe2fa0565
Add outdated warning (#1) 2024-12-04 11:17:27 -05:00
4 changed files with 30 additions and 12 deletions

24
Package.resolved Normal file
View File

@ -0,0 +1,24 @@
{
"originHash" : "9916c12584277db02730853cc148cd3379d30d013ee91b8054b4d7daa2fd9788",
"pins" : [
{
"identity" : "swift-cwinrt",
"kind" : "remoteSourceControl",
"location" : "https://git.aparoksha.dev/winui-swift/swift-cwinrt",
"state" : {
"branch" : "main",
"revision" : "3e3d5a0270ebe8fb0bc738d24d4786a6cd0621eb"
}
},
{
"identity" : "swift-windowsfoundation",
"kind" : "remoteSourceControl",
"location" : "https://git.aparoksha.dev/winui-swift/swift-windowsfoundation",
"state" : {
"branch" : "main",
"revision" : "dbe14563b6bb0eb9c761d8aff7f465afddf185f9"
}
}
],
"version" : 3
}

View File

@ -8,8 +8,8 @@ let package = Package(
.library(name: "UWP", type: .dynamic, targets: ["UWP"]),
],
dependencies: [
.package(url: "https://github.com/thebrowsercompany/swift-cwinrt", branch: "main"),
.package(url: "https://github.com/thebrowsercompany/swift-windowsfoundation", branch: "main"),
.package(url: "https://git.aparoksha.dev/winui-swift/swift-cwinrt", branch: "main"),
.package(url: "https://git.aparoksha.dev/winui-swift/swift-windowsfoundation", branch: "main"),
],
targets: [
.target(

View File

@ -1,10 +1,8 @@
# swift-uwp
Swift Language Bindings for UWP APIs
These APIs are intendened to be used in conjuction with the following projects:
- [swift-winui](https://github.com/thebrowsercompany/swift-winui)
- [swift-windowsappsdk](https://github.com/thebrowsercompany/swift-windowsappsdk)
- [swift-win2d](https://github.com/thebrowsercompany/swift-win2d)
This is based on [thebrowsercompany/swift-uwp](https://github.com/thebrowsercompany/swift-uwp).
Swift Language Bindings for UWP APIs
## APIs
These projections contains a subset of APIs as part of the UWP platform. The list of full namespaces is available here for reference: https://learn.microsoft.com/en-us/uwp/api/
@ -17,10 +15,6 @@ The bindings are generated from WinMD files, found in NuGet packages on Nuget.or
1. projections.json - this specifies the project/packages and which apis to include in the projection
2. generate-bindings.ps1 - this file reads `projections.json` and generates the appropriate bindings.
## Filing Issues
Please file any issues you have with this repository on https://github.com/thebrowsercompany/swift-winrt
## Known Issues and Limitations
- The developer experience for consuming WinRT APIs from Swift is a work in progress. Due to current limitations, not all APIs can be generated as this causes export limit issues.

View File

@ -43,6 +43,6 @@
"exclude": [
"Windows.Devices.Enumeration.Panel",
"Windows.Management.Deployment.PackageStatus",
"Windows.ApplicationModel.Core.CoreApplication",
"Windows.ApplicationModel.Core.CoreApplication"
]
}