Preparing Your iOS Codebase for AI Agents
What I learned setting up a large-scale iOS codebase so that AI coding agents can work in it effectively, from hierarchical documentation to executable skills.
Sunday Swift
Swift tutorials, tips, and tricks from Hesham Salman. iOS engineer at Notion.
What I learned setting up a large-scale iOS codebase so that AI coding agents can work in it effectively, from hierarchical documentation to executable skills.
Featured
How we built a skill that lets AI coding agents verify their own iOS changes on a real simulator, with video recording and accessibility auditing.
How I rewrote Claude-XcodePreviews in Swift and accidentally built a declaration-level dependency resolver.
A deep dive into the design, performance, and trade-offs behind Lists, a pure-Swift replacement for UICollectionViewDiffableDataSource.
What happens when you take the human out of the agent loop. Building an autonomous issue-to-PR pipeline in Rust with MCP, fail-open design, and filesystem IPC.
How we built a skill that lets AI coding agents verify their own iOS changes on a real simulator, with video recording and accessibility auditing.
Why wrapping your iOS build commands in a Makefile is the highest-leverage change you can make for AI coding agents.
How I rewrote Claude-XcodePreviews in Swift and accidentally built a declaration-level dependency resolver.
How building a native macOS GitHub notification client exposed surprising gaps in GitHub's public API and stress-tested Lists in a real app.
How to set up an iOS project for git worktrees, including DerivedData isolation, SPM caching, simulator conflicts, and project file merge strategies.