3 ms·
Have you considered using Qt? It compiles and runs native on macOS, the documentation is superb. You just let the Qt people worry about the Cocoa, Quartz etc. i
by GnarfGnarf 6y ago
Have you considered using Qt? It compiles and runs native on macOS, the documentation is superb. You just let the Qt people worry about the Cocoa, Quartz etc. interface.
As a bonus, it will also run on Windows, Linux, Android, iOS.
Qt looks like an "operating system". It isn't really an O/S, it feeds off the underlying O/S, but to the applications programmer, it completely subsumes the O/S.
We converted a 500KLOC Win32 app to Qt (and macOS), and there is not one single Win32 API call left, except for an obscure font enumeration thing because we wanted to stay with our own PDF code instead of using Qt's.
- jes5199 6y agoI can always tell when I'm using a Qt app on my mac, because my keyboard navigation shortcuts don't work
- GnarfGnarf 6y agoThanks for mentioning that, I'll try and make sure we accommodate keyboard navigation shortcuts.
- yoz-y 6y agoThe author is a podcaster and developer pretty much focused on Apple and mostly iOS. I think developing for other platforms is a total non issue for him and he also hates C++. I doubt Qt would be an option.
- Klonoar 6y agoQt is not true Cocoa, even still - IIRC (and I think it was literally somewhere on this forum that I was corrected by a Qt engineer) they use the Cocoa things to handle some drawing code, but it's still their own stuff on top of that (they used to use HITheme & co before they modernized it). It's why you'll see subtle differences on things like buttons.