https://kotlinlang.org logo
Title
s

spierce7

08/10/2022, 1:46 AM
Are there any examples Kotlin native drawing a simple UI in windows or Mac? I was contemplating using Kotlin native as an app that downloads the rest of the app which is much larger. I just need to display some text and a progress bar in Mac and windows UI.
d

drew

08/12/2022, 3:36 AM
I actually have some old code that is exactly what you're describing. It's simple enough to do this in K/N without dependencies, I'll share a github link later.
s

spierce7

08/12/2022, 5:21 AM
Cool - I’d love to take a look!
s

spierce7

08/12/2022, 3:47 PM
I appreciate the examples! What versions of windows would this work on?
does it require anything special to be installed that wouldn’t be installed by default?
d

drew

08/12/2022, 4:51 PM
Nothing special is required, it uses only win32 APIs which are available on every version of Windows that will run a Kotlin/Native binary.