News for hackers. Stuff that matters.
Re:Ask HN: How many of you Apple developers still use Object... by troupo on Tuesday February 20, 2024 @12:25PM (#39444033)
Since Swift UI is iOS-first, when the apps get ported to MacOS, they bring a lot of mobile-isms: the views and animations are often wrong, the controls are often wrong (like even the Apple's own settings app breaks a lot of established platform conventions and Apple's own HIGs), integration with system services is often incomplete (like proper keyboard shortcuts, I can't set a shortcut for Conversations->Delete in Messages anymore) etc.

Because of that I've seen people discuss that they have to reach for AppKit and/or ditch SwiftUI and got all in with AppKit, and that is easier to do from Obj-C.

Re:Ask HN: How many of you Apple developers still use Object... by Reason077 on Wednesday February 21, 2024 @12:38AM (#39450504)
> "people discuss that they have to reach for AppKit and/or ditch SwiftUI and got all in with AppKit, and that is easier to do from Obj-C."

You can fairly easily port UIKit apps to macOS now with Mac Catalyst[1] No need to use SwiftUI to get those mobile-isms.

[1] https://developer.apple.com/mac-catalyst/

Re:Ask HN: How many of you Apple developers still use Object... by markemer on Wednesday February 21, 2024 @12:47AM (#39450565)
Also AppKit works perfectly well in swift. People just probably remember the ObjC versions of things better since that’s where this all started. But the naming is pretty standard if you remember the old calls.
Re:Ask HN: How many of you Apple developers still use Object... by troupo on Wednesday February 21, 2024 @03:14AM (#39451300)
Catalyst is just as bad IMO