[PySide] Shiboken and Swift

Jason H jhihn at gmx.com
Mon Oct 19 15:11:49 CEST 2020


So as it turns out, Swift allows for interop with C ( https://developer.apple.com/documentation/swift/swift_standard_library/c_interoperability ). C++ is not high on the list of Swift enhancements, but it's been requested, however there is no timeline or commitment.

1. There is some risk that in the future Apple releases a Swift-only library for a desirable feature.
2. There is the immediate situation that Swift is just better code than Objective-C and the code examples are more plentiful online and there is some value of being able to use Swift today.

Given those two factors, my question is if Shiboken could be adapted to auto-generate the C++/C, C/Swift bindings to be able to use Swift in a Qt project?





More information about the PySide mailing list