News for hackers. Stuff that matters.
Re:Apple Fooled All Mac Catalyst Developers by shaicoleman on Friday March 17, 2023 @06:08AM (#35195126)
Context: "Mac apps built with Mac Catalyst share code with your iPad apps, and you can add more features just for Mac. The latest desktop-class features in iPadOS 16 translate beautifully onto macOS 13."

https://developer.apple.com/mac-catalyst/

Re:Apple Fooled All Mac Catalyst Developers by Daedren on Friday March 17, 2023 @06:09AM (#35195133)
Catalyst was a nice idea, and while buggy at release, it was as per usual for Apple.

But yeah, once SwiftUI released it was a no-brainer this would happen. There's no way Apple would invest further into AppKit/UIKit after releasing it, that's not how they do things. This is how it has always been.

Re:Apple Fooled All Mac Catalyst Developers by jeroenhd on Friday March 17, 2023 @06:12AM (#35195143)
Maybe it's my non-Apple user perspective, but Catalyst has always been quite a strange product. The theory behind why Apple won't just add a touch screen option to their Macbooks already is that macOS wasn't designed for touch so the experience would be terrible, which I can understand, but then they released this tool to xopy/paste phone apps to their desktop plarfoem

Surely Apple has seen Windows 8 and realised these touch approaches will always be suboptimal at best for non-touch devices? Surely they realise that such platforms are doomed if you don't implement the same system APIs on every target OS?

Maybe I'm a bit cynical, but I don't understand why users would be interested in these applications. I'd much rather have an Electron app than a weird cross platform abomination myself.

Re:Apple Fooled All Mac Catalyst Developers by Dalewyn on Friday March 17, 2023 @06:40AM (#35195305)
>Surely Apple has seen Windows 8 and realised these touch approaches will always be suboptimal at best for non-touch devices?

Windows 8's demise stems from its schizophrenic design language, something Windows still suffers to this day (though it's getting better).

Touch interactions in and of itself on Windows is fine and sufficiently servicable. It's not as quick as keyboard nor as comfortable as mouse, but it certainly works and is by far the most intuitive to the touchscreen generation.

Re:Apple Fooled All Mac Catalyst Developers by jeroenhd on Friday March 17, 2023 @06:49AM (#35195360)
Very true, if you have a touch screen then Windows will work fine. However, macOS doesn't have touch screen support, so the change in paradigm will be as jarring as during the introduction of Windows 8, back when desktops and laptops had didn't get produced with touch screens except for extremely niche models.

WinRT was an excellent platform to use (with no apps to take advantage of the hardware) but Windows 8 on a non-tablet is as jarring as mobile apps running on desktop. They work, but that's about all the good things you can say about them.

Re:Apple Fooled All Mac Catalyst Developers by favaq on Friday March 17, 2023 @06:57AM (#35195402)
I have never used one, but I will never understand in what situations does a touchscreen on a desktop or a laptop make any sense at all. Maybe if I used one it would click for me but I don't get it. I imagine myself poking the screen of a laptop, the whole thing wobbling, all full of greasy fingerprints... it makes me cringe.
Re:Apple Fooled All Mac Catalyst Developers by jeroenhd on Friday March 17, 2023 @07:21AM (#35195548)
It just makes sense sometimes. We're at the point where every web page and operating system control is large enough to be hit with a finger anyway, why go through the effort of getting a virtual pointer to hover over it when you can just tap it? The button is _right there_! For most of computer history, we've used tools to simulate putting our fingers on something (cursors becoming hands when tapping interactive elements, for example) and to get there, we've used a virtual finger controlled by a mouse, touch pad, track ball, or anything else that gets two dimensional movement across to the screen. We're finally at the point that we don't need the intermediate technology anymore, except perhaps for precision work.

Windows 8 has had excellent gesture support since Windows 8 and if you enable the right settings (tablet mode, for one) browsing the web becomes quite tablet-like on a laptop. On a desktop I don't think it would make too much sense outside of a digital artist's environment.

If your laptop has a flimsy hinge or a screen that stains easily, it probably won't make sense to use its screen as a touch screen (unless it folds all the way back). However, in my experience, most laptops that aren't designed to be as thin as possible will hold up quite nicely if you touch their screens. Our phones are perfectly usable when we put our greasy fingers all over them, so why would a laptop screen be any different? You don't need a lot of force to operate a touch screen, we're not constantly flinging our phones across the room when we need to tap something. It's just a matter of mounting and treating the screen right. If your screen gets to a reasonable brightness, you probably won't even notice the finger grease.

Touch screens on computers aren't for everyone, but most people that have tried them don't seem to want to go back. I haven't used one for an extensive amount of time myself, but I can definitely see the appeal.

Re:Apple Fooled All Mac Catalyst Developers by favaq on Friday March 17, 2023 @07:44AM (#35195704)
>We're at the point where every web page and operating system control is large enough to be hit with a finger anyway, why go through the effort of getting a virtual pointer to hover over it when you can just tap it? The button is _right there_!

Because moving my wrist a little bit is much easier than moving my entire arm. If the way you position your laptop allows you to not have to move your entire arm then you don't have a laptop, you have a tablet, and that's another discussion altogether.

Also having mouse interfaces allows for interface elements to be smaller, thus showing more information at the same time.

Re:Apple Fooled All Mac Catalyst Developers by Dalewyn on Friday March 17, 2023 @08:38AM (#35196300)
Look at it from the perspective of the commons: It's easier to poke at a screen than to use a mouse or touchpad. It's easier to see and read bigger text and interfaces than small environments for ants, especially as one advances in age.
Re:Apple Fooled All Mac Catalyst Developers by favaq on Friday March 17, 2023 @08:51AM (#35196434)
Apple already sells an apparatus for the commons, it's called the iPad.
Re:Apple Fooled All Mac Catalyst Developers by newaccount74 on Friday March 17, 2023 @07:12AM (#35195491)
I thought the same until I got a surface studio.

The touch screen itself is useful when multiple people use a computer. Much nicer if everyone can interact with the screen vs. asking the person holding the mouse to scroll down a bit.

But the real game changer is the stylus. Annotating PDFs, signing contracts, kids doing school worksheets, the whiteboard app... It's amazing how much more naturally you can interact with a computer if you can just draw on it.

I love my big iMac, I just wish it came with a stylus.

Re:Apple Fooled All Mac Catalyst Developers by Dalewyn on Friday March 17, 2023 @08:35AM (#35196269)
>But the real game changer is the stylus. Annotating PDFs, signing contracts, kids doing school worksheets, the whiteboard app... It's amazing how much more naturally you can interact with a computer if you can just draw on it.

This is understated.

Sometimes, you need to sign documents electronically, and let me tell you all: Trying to sign with a mouse is fucking miserable. I say that as someone who knows and breathes computer, too; the common man finds it downright intolerable.

Scribbling with a finger, let alone writing/drawing with a freaking pen, is an astronomical leap in intuitive usability.

Re:Apple Fooled All Mac Catalyst Developers by danabrams on Friday March 17, 2023 @06:15AM (#35195158)
Remind of this Steve Jobs quote:

“This becomes even worse if the third party is supplying a cross platform development tool. The third party may not adopt enhancements from one platform unless they are available on all of their supported platforms. Hence developers only have access to the lowest common denominator set of features.”

Talking about 3rd parties, but the same problems seem to be limiting the cross-platform Catalyst system as well.

SwiftUI seems like a better approach if only because Apple is trying to make it a unified platform, instead of abstracting on top of two different platforms.

Re:Apple Fooled All Mac Catalyst Developers by ksec on Saturday March 18, 2023 @10:25PM (#35215380)
There are a lot of things that seems strange in terms of software direction in Post Steve Jobs era. And I blame it on the somehow popular Craig Federighi.

Catalyst, Swift are two prime example. The whole thing feel very Microsoft to me.

I seriously doubt any of these would fly under Steve or Scott Forstall.

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.
Re:Apple Fooled All Mac Catalyst Developers by ChrisMarshallNY on Friday March 17, 2023 @06:24AM (#35195216)
Catalyst was never meant to be anything more than a transitional stopgap (see: "Carbon").
Re:Apple Fooled All Mac Catalyst Developers by meindnoch on Friday March 17, 2023 @06:33AM (#35195265)
So... are you finally willing to let go of the cross-platform UI pipe dream?
Re:Apple Fooled All Mac Catalyst Developers by deafpolygon on Friday March 17, 2023 @06:49AM (#35195354)
Did anyone see MAUI quietly leave the room?
Re:Apple Fooled All Mac Catalyst Developers by Kipters on Friday March 17, 2023 @07:06AM (#35195447)
I will never get over how Microsoft screwed up Xamarin to go the Xamarin.Forms and MAUI route
Re:Apple Fooled All Mac Catalyst Developers by adamwiggins on Friday March 17, 2023 @06:51AM (#35195370)
Our team's experience has been the exact opposite: Catalyst let us create a beautiful, fully-native Mac app[1] that shares the bulk of its code with its iPad counterpart. A few bumps here and there but overall a good experience.

[1]: https://museapp.com/how/ipadmac/

Re:Apple Fooled All Mac Catalyst Developers by disgruntleddev on Friday March 17, 2023 @07:09AM (#35195471)
It saddens me to say this, but it seems that in the software engineering department at least, Apple is stuck creating a lot of deckware. What I mean by this is that there seems to be a cultural environment in creating new products that look great at a keynote launch, but then post launch are abandoned.

Many bugs remain indefinitely post-launch. Many features seem to languish to become replaced with something nearly identical and also not finished. Often you'll hear the advice to 'file a Radar (Feedback)', but among developers for Apple platforms it's become a running joke. It seems just to disappear into the aether without comment or resolution. The internal teams have moved on to the next launch.

It's tiring year after year to see polished marketing videos tell you 'what's now possible' but for it to be so unusable due to a myriad of bugs. And worse is the lack of acknowledgment – please don't send developers down a dead end if you know API isn't production ready. Let them know, communicate where it falls short – we can handle it.

At the end of the day, I just wish they'd slow down and polish what is already there.

Re:Apple Fooled All Mac Catalyst Developers by Dalewyn on Friday March 17, 2023 @08:40AM (#35196316)
>Many bugs remain indefinitely post-launch. Many features seem to languish to become replaced with something nearly identical and also not finished. Often you'll hear the advice to 'file a Radar (Feedback)', but among developers for Apple platforms it's become a running joke. It seems just to disappear into the aether without comment or resolution. The internal teams have moved on to the next launch.

First time? :V

This isn't an Apple-specific problem.

Re:Apple Fooled All Mac Catalyst Developers by disgruntleddev on Friday March 17, 2023 @01:04PM (#35199828)
Yes, that's exactly the attitude I'm referring to. Apple used to hold themselves to a higher standard.
Re:Apple Fooled All Mac Catalyst Developers by AnonHP on Friday March 17, 2023 @09:18AM (#35196699)
Tangentially, from a user’s point of view, Catalyst apps are kinda like Electron apps. You can spot one just by using it for a short while. The user interface inconsistencies and the subpar keyboard support (even below the base level on macOS) make it unpleasant to use. Apple’s own Catalyst based apps on macOS highlight its weaknesses. As a stop gap arrangement, it may have some value. But I can’t stomach the thought that this would be the permanent way to develop iPadOS and macOS apps.