Are there any examples Kotlin native drawing a sim...
# kotlin-native
s
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
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
Cool - I’d love to take a look!
s
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
Nothing special is required, it uses only win32 APIs which are available on every version of Windows that will run a Kotlin/Native binary.