SwiftUI

I am working on a library which I want to share with Android and iOS developer and as part of the example. I am thinking of using SwiftUI for iOS project. I was wondering if its supported and if so, if you would have any example app for it?

We don’t have support for using Swift ABI objects yet, I’m afraid. only Objective-C/Cocoa ones.

We’re working on this, and hope fully will have something there later in the year. The main problem is that the Swift ABI, while officially “stable” now, is not properly documented and very much a “the compiler is the spec, bugs and all” kind of thing. Which I think is a terrible idea for building an an OS platform, but I’m sure Apple knows better ;).

2 Likes

Thank you :slight_smile:

I did find this today: GitHub - TokamakUI/Tokamak: SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms

1 Like