@siracusa@mastodon.social Re: ATP Dev. I recently wrote a blog post how we make Swift Errors for our Mac app. Focussing on both the end user and the developer experience. https://nonstrict.eu/blog/2026/the-four-audiences-of-swift-errors/
Tom Lokhorst
Indie developer.
Currently working on iPhone mirroring app https://getbezel.app and Vision Pro app https://splitscreen.vision
Fan of both space and time.
Transcript of Meet with Apple Q&A on Swift concurrency. https://nonstrict.eu/wwdcindex/meet-with-apple/276/
People complain about the corner radius of windows on macOS Tahoe. But @bezelapp@mastodon.social shows iPhone hardware as windows, it has always had giant corners.
Now experimenting with the cursor following the curvature of the window exactly.
I’m at @appdevcon@mastodon.social to give a talk about Swift Concurrency and actors. Excited!
Weird crash in Swift "Object of class _ContiguousArrayStorage deallocated with non-zero retain count 2."
I had some old code which tries to protect its internal state using a DispatchQueue. But it's a struct.
When I access it from multiple threads at the same time via a class, it crashes. In my old Swift 5 code I didn't have the "unchecked Sendable", and I assumed it was correct because of the DispatchQueue.
My actual fix is changing the struct to a final class.
It is that time of year again where I point a camera at a wall clock for a long duration recording. To check if the video drift is a bug in the camera driver or my software.
Great talk by @dgregor79@sfba.social on Progressive Disclosure in Swift. https://www.youtube.com/watch?v=opqKGgJavkw
I liked the reworking of non-throwing functions to be syntactic sugar for `throws(Never)`
