https://kotlinlang.org logo
#compose-ios
Title
# compose-ios
l

Landry Norris

02/03/2023, 4:21 AM
Just finished a proof of concept for rendering dock icons in pure Compose on native macos. This uses ImageComposeScene and the native AppKit-based Compose (not #compose-desktop). Code lives in this GitHub repo. Watch the dock icon for the app to see the counter update.
👍🏼 1
👍🏻 2
👍 12
Haven’t done any optimizations yet, so it only updates the dock icon once a second.
I noticed that if I create a Kotlin executable, there’s no app icon present in the dock when I run. Had to create an XCode project that calls my Kotlin code to get it to show up.
a

andrew

02/04/2023, 8:43 PM
This is wicked
d

darkmoon_uk

02/07/2023, 6:38 AM
This is rather neat @Landry Norris! K udos K
34 Views