When I was in school, the corporate shill language was MATLAB, and even today not every program has moved on to greener pastures (Python/numpy, Julia). But doesn't Swiftui support Android now? https://github.com/skiptools/skip, I'm extremely skeptical and critical of anything Apple does, and I don't like programming languages without critical mass of community and corporate contributers, but seems like Swift is going in the right direction here.
https://swiftcrossui.dev is also promising for somewhat SwiftUI compatible APIs across desktop OSs
Swift is a cross-platform compiled programming language that offers memory safety as a tentpole feature.
SwiftUI is a platform specific API for developers who are writing native apps for that platform.
You can think of Swift as being similar in concept to Rust and SwiftUI as being similar in concept to Win32.