Diyamantina

@dijamantina.bsky.social

Senior Apple developer for all Apple devices (iOS / iPadOS, macOS, tvOS, Swift on the Server. https://aleahim.com

Apple UI Insider's first issue is out. Every picture in it is drawn twice, once by my own renderer, once by Apple's frameworks, then compared. That check caught a real bug: two renders disagreeing by 3.9%, traced to one coordinate flip, fixed to 0.07%. aleahim.com/blog/apple-u...

Introducing Apple UI Insider

A new newsletter that draws every picture twice, once with a clean-room renderer, once with Apple's own frameworks, and publishes what's different

aleahim.com

Boundless thanks to the remarkable spirits who so generously placed their invaluable hard-won wisdom in our hands: @vanvoorden.bsky.social, @emredeg.bsky.social, @dijamantina.bsky.social, @jordanmorgan10.bsky.social, Howard Oakley and Wayne Bishop

Fatbobman (东坡肘子)@fatbobman.com · last mo.

Fatbobman’s Swift Weekly #143 is now available! When Linux Becomes "Air": Containers, Agents, and a "Desktop War" That No Longer Matters 🔭 Debugging Notes on Two SwiftUI Animation Bugs 🔧 SwiftUI 3D is Flat 🔍 Safari MCP 🔥 SwipeCell weekly.fatbobman.com/p/fatbobman...

SwiftUI looks like it does 3D. So I built the simplest 3D scene, a cube: six faces, one camera. Pure SwiftUI cannot build it. The back face paints over the front at every rotation. The fix exists, visionOS only. aleahim.com/blog/swiftui...

SwiftUI 3D is Flat

SwiftUI's iOS and macOS 3D is per-view projected 2D output composited by painter's order, with no shared-space depth-sorted hierarchy, and the APIs that would fix it are visionOS-only, proven with a r...

aleahim.com

Everyone treats SwiftUI as Apple's big idea. Measured against its own behavior and against Apple's patent, it is one demand-driven graph, the boring tip. The hard engine underneath is Core Animation, by John Harper, who almost no one can name. aleahim.com/blog/swiftui...

SwiftUI Is One Graph, Over 40+ Years of Engineering

SwiftUI is the thin graph sitting above 40+ years of engineering. Measured against the real framework and read against Apple's own patent, it is a single demand-driven graph, and the least remarkable ...

aleahim.com

Every validator starts as one giant function that walks a tree and appends to an error array. It works. It also rots. OpenAPIKit taught me the fix: a validation isn't code you run, it's a value you build. aleahim.com/blog/validat...

"Validations Are Values"

Most validation code is one giant function that walks a tree and appends to an error array through a forest of if statements. OpenAPIKit showed me a better way, a validation is a small composable valu...

aleahim.com

"Swift runs everywhere" is usually a slide. So I made it a rule: every platform claim must be a CI gate on every push. Four pure-Swift codebases pass: macOS, Linux, Windows, the browser. One renders PDFs in your tab. aleahim.com/blog/swift-r...

"Swift Runs Everywhere. I Checked."

Four of my Swift projects run right now on macOS, Linux, Windows, and inside the browser. A static site generator, a Markdown to PDF engine, a YAML parser, and a 2D vector graphics engine, all pure Sw...

aleahim.com

I already had a static site generator I liked. Then I wanted diagrams, charts, a per-article PDF, and real math typeset at build time. Couldn't get it all from one tool, so I built one around typed tiles. This post is rendered by it. aleahim.com/blog/why-i-b...

Why I built TileDown

I already had a static site generator I liked, right up until I wanted diagrams, charts, a per-article PDF, real math, and a path to dynamic content. So I built one around a typed tile model, and this...

aleahim.com

A search filter that returns the same 88 results for iOS 13 and iOS 18 isn't a filter. It's decoration. That bug became cupertino v1.3.0: one registry, 8 per-source databases, shipped read-only. The unified search.db is gone. aleahim.com/blog/cuperti...

cupertino v1.3.0: The Big Refactor - Aleahim

v1.3.0 is the architecture release: eight per-source databases derived from one registry, shipped read-only, with the legacy unified search.db retired for good.

aleahim.com

Cupertino v0.10 is out Every Apple framework is now searchable by your AI agent. All 307 of them. 302,424 docs. First community PRs landed too — Agent Skill support from @tijs and a Claude Code plugin from @gpambrozio. The open source dream. aleahim.com/blog/cupertino-10-release/

Cupertino v0.10: Full Coverage and Community Contributions - Aleahim

307 frameworks, 302,424 docs, Agent Skills, Claude Code plugin, and the first community PRs.

aleahim.com

Finally crawled ALL of Apple's docs. 302K pages. Cupertino v0.7.0 now lets you filter by OS version — ask Claude for iOS 17+ APIs only. No more deprecated suggestions. Also: HIG search, teasers that teach AI where to look, and 40K kernel docs. aleahim.com/blog/cupertino-07-release/

Cupertino v0.7.0: 302K Docs, OS Version Filtering, and Teaching AI to Dig Deeper - Aleahim

The complete Apple documentation crawl is done. Now you can filter by iOS 17+ and Claude finally knows where to look for answers.

aleahim.com

234K Apple docs in your terminal. 287 frameworks. Cupertino v0.5.0 just dropped. Five days of crawling Apple's documentation so you don't have to. Found 25K Kernel docs alone. IOKit, Mach, BSD - the stuff that's impossible to Google. aleahim.com/blog/cupertino-05-release

Cupertino v0.5.0: 234K Docs, 287 Frameworks, and the Roadmap Ahead - Aleahim

The biggest documentation update yet - nearly double the docs, plus what's coming next for the Apple documentation MCP server.

aleahim.com

Cupertino v0.4.0 - Apple docs MCP server for AI agents New: HIG support, framework aliases, Swift-org fixes Key insight: AI agents read search results every time, but tool descriptions once. Put hints in the output, not the docs. aleahim.com/blog/cupertino-04-release

Cupertino v0.4.0: HIG Support, Framework Aliases, and Release Engineering Lessons - Aleahim

New features for Apple documentation search, plus a cautionary tale about release processes and why order matters when tagging.

aleahim.com