The latest Swift update, version 6.3, allows developers to integrate Swift code into projects built with Kotlin and Java, or ...
And the funny thing is, it seems like it's completely legal.