[Interest] Swift?
Till Oliver Knoll
till.oliver.knoll at gmail.com
Fri Aug 10 15:20:57 CEST 2018
> Am 10.08.2018 um 15:08 schrieb Jason H <jhihn at gmx.com>:
>
> What is the status of using swift in Qt for Apple platforms?
Last time I checked there was no such thing as „Swift++“ (in analogy to ObjC++), which makes it impossible to „mix and match“ Swift code with C++.
The common denominator is C, so you could write „C function wrappers for your C++ classes“ (and vice versa for your Swift classes).
Or still use ObjC++ to glue the C++ and Swift world.
In any case you‘re dealing with 3 distinct languages (where C is admittedly „kind of C++ without the ++).
Not sure what would be less pain: C („no objects/classes -> cumbersome wrapper API) or ObjC++ („from which you actually want to get away by using Swift“).
Cheers,
Oliver
More information about the Interest
mailing list