News for hackers. Stuff that matters.
Re:Apple Fooled All Mac Catalyst Developers by lawgimenez on Friday March 17, 2023 @06:16AM (#35195161)
Catalyst is never going to work. We tried it with our team back then and it's just utterly bad and depressing. This is the same issue currently with SwiftUI multiplatform, SwiftUI's button and textfields on iOS looks so good but on macOS it's pure comedy.
Re:Apple Fooled All Mac Catalyst Developers by ChrisMarshallNY on Friday March 17, 2023 @06:26AM (#35195222)
In my experience, there's never been (and, I suspect, never will be) a true "cross-platform" system.

There's just no substitute for platform native. I include hybrid systems, and frameworks like Qt in that statement.

Even though I can write a UI in SwiftUI that will work on all platforms, I have no illusions that it is something that I could ship to customers, with a straight face.

Re:Apple Fooled All Mac Catalyst Developers by Dalewyn on Friday March 17, 2023 @06:38AM (#35195286)
>In my experience, there's never been (and, I suspect, never will be) a true "cross-platform" system.

Chrome, otherwise known as Electron.

It's not great, it's fucking terrible actually. But it's cross-platform, it gets shit done, and it's clearly good enough (relatively).

Re:Apple Fooled All Mac Catalyst Developers by shakow on Friday March 17, 2023 @06:40AM (#35195301)
That's desktop only. We already have Qt playing in the same ballpark, and doing both better and worse depending how you look at it.

Nice cross-smartphone-tablet-desktop however is a no-app's land.

Re:Apple Fooled All Mac Catalyst Developers by jitl on Friday March 17, 2023 @07:03AM (#35195431)
Webview works for this. Chrome / Electron for desktop, native Webview app on iOS and Android respectively.

It’s not as good as fully native; but it does enable excellent code sharing as well as shipping new versions of your app as fast as you can deploy them.

That’s how we build Notion anyway.

Re:Apple Fooled All Mac Catalyst Developers by ChrisMarshallNY on Friday March 17, 2023 @08:30AM (#35196209)
Well, I’m not gonna get into a back and forth over this. Lots of “Sacred Cows and Third Rails.”[0]

I am personally not comfortable, shipping “meh” to my end-users, but I’m also quite aware that my methodology is not a money-maker, so it’s probably just sour grapes, on my part.

[0] https://littlegreenviper.com/miscellany/sacred-cows-and-thir...

Re:Apple Fooled All Mac Catalyst Developers by AdamN on Friday March 17, 2023 @06:30AM (#35195241)
The only way cross-platform works is if both platforms are in lockstep with the interfaces they supply. Of course that will slow down development on both platofrms.

In some cases, this works great right now for mature interfaces and you can use certain tools on FreeBSD, Ubuntu Linux, and RedHat Linux interchangeably because they are using consistent interfaces. Where the interfaces aren't strongly consistent (or there are leaky abstractions), then it all falls apart.

Re:Apple Fooled All Mac Catalyst Developers by jitl on Friday March 17, 2023 @07:14AM (#35195499)
As a hobby Mac developer, SwiftUI is amazing and makes it so much faster for me compared to AppKit directly. But maybe you are trying too much to share views without specializing them for each platform? Apple does some layout for you but not enough. You’ll need to have a bunch of Mac specific code but you can get quite good results. The button looks like a Mac button… but it won’t feel right as a full-width row like you’d have on iOS.
Re:Apple Fooled All Mac Catalyst Developers by lawgimenez on Friday March 17, 2023 @08:20AM (#35196097)
Yes, I agree SwiftUI is amazing and looking forward to not having to deal with AppKit anymore. I was just using the default buttons and textfields without much customization but still awkward to look on macOS.