Can I create a (edit: Native) MacOS app without wr...
# multiplatform
m
Can I create a (edit: Native) MacOS app without writing a single line of Swift? If yes, is there a sample somewhere?
d
Sure! You can use the JVM on MacOS. For the UI, you'll need a framework that also works on the JVM. For instance, Compose for Desktop.
Or I see that maybe you meant a native app?
m
Yes, Native is the goal
👍 1
b
I can't see why you couldn't avoid swift, however you still need xcode (whole ide, not just cmd line tools) installed to build, sadly...
👍 1
m
Copy code
binaries {
  executable {
    entryPoint = "com.example.main"
  }
}
was what I was looking for. Thanks all!
👍 2
d
Have done this with iOS before... Full
.kt
main function, zero Swift. I felt like a King doing it.
💯 3
☝️ 2
🤣 4