Zach retweeted
!Habits transforms into a beautiful habit journal on the Duo.
This may be my favorite version of the app.
Zach retweeted
There’s more to this SwiftUI vs. Core Animation story, and I’m continuing to dig deeper.
The TL;DR: @kzzzf is right that SwiftUI animations can stall in situations where equivalent, already-submitted Core Animation animations continue. I’ve reproduced that and traced several distinct causes in the frameworks: shared update-lock contention, button-related rendering changes that require main-thread reconciliation, and structural changes when animated effects reach identity values. I've also found easy workarounds to most of the issues raised with SwiftUI.
But there’s important context: apps should avoid prolonged main-thread work and blocking waits. A two-second main-thread sleep makes an app unresponsive regardless of which UI framework it uses. Core Animation keeping an animation moving is a real advantage, but it doesn’t restore input handling or make that blocked app responsive.
A deliberate sleep is an artificial stress test, but the architectural difference it exposes is real. Applications should keep the main thread responsive, and SwiftUI should minimize unnecessary main-thread dependencies. Both can be true. There are mitigations for some of these SwiftUI cases, and it’s reasonable to argue that they shouldn’t be necessary. It’s also unreasonable to conclude that SwiftUI broadly performs poorly from this test alone.
Let’s also recognize what SwiftUI provides within its normal UI system that UIKit doesn’t: arbitrary custom animatable data participating in the framework’s animation machinery, trivial native animation of advanced properties, and composable shader effects over supported SwiftUI-rendered content. You describe the animatable values and how they affect your view; SwiftUI handles the timing, interpolation, repetition, and retargeting. Building your own display-link animation engine or replacing your entire UIKit interface with custom Metal rendering isn’t an equivalent framework capability.
That flexibility helps explain why SwiftUI’s animation model extends beyond submitting a fixed set of layer-property animations to Core Animation. Custom application-defined presentation can require ongoing client-side evaluation. That doesn’t automatically mean main-thread evaluation, and I’ve verified SwiftUI animations continuing off-main during a main-thread block. Whether they can continue depends on the rendering work involved—not simply whether the application updates @State once or every frame.
UIKit is still great. SwiftUI is still great. AppKit may even be great, depending on who you ask 🙃. They also interoperate: SwiftUI uses UIKit infrastructure on iOS, hosting controllers bridge the two, and SwiftUI itself relies on Core Animation for onscreen composition. In fact, every single pixel that SwiftUI renders happens in RBLayer, which is a CALayer (meaning Core Animation is technically involved at all times for all SwiftUI apps). The meaningful comparison here is SwiftUI-managed animation versus explicitly submitted Core Animation animation—not two completely separate rendering universes.
Use the framework that fits your needs. These investigations are useful precisely because they reveal concrete tradeoffs, only the real tradeoffs at the core of this discussion—main thread blockage—are bad for any app using either framework. Keeping animations alive during a stall is useful. So is having the absolute flexibility and power of a more modern animation system. Neither excuses prolonged main-thread blockage, and neither justifies a wholesale verdict on something as broad as SwiftUI or UIKit.
Zach retweeted
I needed to visualize some color spaces for a video I'm making
so I built colorspaces.maxrovensky.com
built with @threejs
Zach retweeted
Pro-tip. Just add “.md” to any HIG link to get the md file so it’s more digestible for your bb ai’s bedtime 🍼
developer.apple.com/tutorial…
Designing for iPhone Duo is live on the HIG. Read it to your ai as a bedtime story 🪩
developer.apple.com/design/h…
Zach retweeted
✅ contract signed with @bostondynamics, we just officially adopted a robot dog
Zach retweeted
In the newest version of diffs.com/edit
- Edit mode is now stable
- Tab completions are live
It's called "Diffs," but you can use it just to show or edit single code files as well.
Zach retweeted
hey all, I’m getting back into the job market.. I’m talking with a couple of co’s but interested in talking with more. I’m also open to medium/long-term freelance if that’s what you need
17 yrs of iOS/Mac dev (5 years at Apple), shipped dozens of apps, love hard problems
Zach retweeted
Updated my old iOS shape morphing example using SpriteKit and CoreImage to use pure metal instead and cleaned it up into a Swift library.
I made a font. So I made a website.
ghost-byte.netlify.app/
Zach retweeted
Grok Bot is proof that certain ideas haven't really been tried until they're executed perfectly
Zach retweeted
a walk through memory lane with the studio founders, celebrating 35 years of id Software:
@ThatTomHall, @romero, @ID_AA_Carmack
Zach retweeted
mac virtual camera! i can use NeoCam as a virtual camera for discord, zoom, OBS, etc...
Zach retweeted
For the updated app icon of Tunely, a Music Visualizer, the goal was to aim for something Winamp inspired.
































