I would like to write a GUI desktop application fo...
# announcements
y
I would like to write a GUI desktop application for macOS and I want to have an icon in the top menu bar (like the time machine icon) as well as use the notification system. Can I do this in Kotlin? Do I need to use Kotlin native?
s
I would use Kotlin Native along with Obj-C or Swift to provide the native interface.
y
Was hoping I didn't have to do that since I don't know either of those languages...
s
You might find it to be not so terrible as there are Kotlin bindings for platform libraries
y
Ok I will give it a shot. Thanks
s
You might be able to get away with using Apples C API’s which are much easier to use in Kotlin via the
platform.*
libs
y
Do you know where I can find information about the Apple C APIs and the platform libs?
s
So it looks like all of this is Obj-C https://developer.apple.com/documentation/usernotifications I think there are platformLibs for this, let me quickly look
y
thank you. that helps a lot!
Good luck
y
👍