Post #1682273
2026-04-23 09:06 UTC
@tbernard@mastodon.social Also @deobald@fantastic.earth turns out developing for macOS fully natively is actually really simple if you’ve got generated bindings for AppKit? At least in Go it’s dead simple. Sloppy code but I saved it in https://github.com/pojntfx/ledger/commit/4a517ff0f53b14529c360b3473a1ac770345151c and https://github.com/pojntfx/ledger/commit/ca720bbfa6d54c72c214f8fb0bbef561ef81e9d9 in case you're interested in this for your use case
Writing it in Go (or any other language that can call the Obj-C bindings I guess) has the neat benefit of getting both fully native UIs while still sharing code between them
Replies (1)
-
@deobald@fantastic.earth 2026-04-24 17:17
@pojntfx@mastodon.social this is very neat! gtk is so well-behaved on macos i’m not sure i’m tempted to switch off of it … but my desktop app is also in typescript. would you say this was sufficiently painless that you’d maintain the macos port? (with all the signing and notarizing and junk that entails.) or is this more experimental? @tbernard@mastodon.social