swift-cross-ui icon indicating copy to clipboard operation
swift-cross-ui copied to clipboard

Needs for WinUI

Open litewrap opened this issue 9 months ago • 3 comments

I understand Swift Cross-UI's philosophy of implementing an abstraction layer for different platforms: macOS, Linux, Windows, and more, and it's a remarkable goal.

However, this involves compromises in terms of energy, development time, and functionality.

Here, I'm talking about my Swift app needs on macOS and Windows (yes, I'm biased), which may be shared by others; let me explain.

For macOS development, I use SwiftUI; it meets the vast majority of my needs.

On Windows, although it's possible to use WinUI components with Swift, your approach, which allows for declarative programming and SwiftUI-like state management, is very interesting. I'm therefore interested in the Swift Cross-UI project, which could potentially (quickly) be used for Swift apps on Windows.

Even if there's no parity with SwiftUI, it's not important to me, since Windows support is more important to me than having the same UI code working on multiple platforms.

So, could Swift Cross-UI, while maintaining your cross-platform vision, enable rapid progress dedicated to Windows by adding WinUI-specific methods?

For example, I want to obtain support for the WinUI ProgressBar and all the others WinUI components or directly access the WinUI Button element to modify its Enable/Disable property without having to wait for cross-platform support.

Thank you for your excellent work.

litewrap avatar May 16 '25 18:05 litewrap