News for hackers. Stuff that matters.
Re:Is macOS’s new XProtect behavioural security preparing to... by therein on Monday September 04, 2023 @07:04PM (#37386022)
> Can I do X with SwiftUI? Who knows. Does it support Y pattern well? Absolutely, and here are a dozen examples. Such a pain in the ass.

Exactly this. Don't even get me started if you are writing a Mac Catalyst app too.

Can I use this NSEvent? No? I gotta create a bundle that's built for OSX and then load that dynamically and pass stuff as AnyObject from my AppDelegate.

Oh I'm getting .rotation and .magnify events. Is there any API I can call to ask the OS the positions of the fingers on the trackpad? No? I need to go through the GestureRecogizer? But that is returning 0 touches for a .magnify event.

All I wanted was to get the current location of the fingers so that I can decide on which axis to zoom more on. Oh there is a plist for Application Supports Indirect Events. Downstream effects not documented, well, that's how it is developing for an Apple platform.

Re:Is macOS’s new XProtect behavioural security preparing to... by steve_adams_86 on Monday September 04, 2023 @10:52PM (#37387312)
Ha, wow, that's agonizing to read but totally on point. You nailed it.

I don't understand why Apple has decided this is okay, or why they don't direct more resources and attention to ensuring this sort of thing doesn't become reality.