Replay
The year is 2025. You’re writing tests for networking code in your Swift app.You could hit the live API, but then your tests are slow, flaky, and fail whenever that third-party service has a bad day....
View ArticleManim
A few years ago, Twitter user @38mo1, a chemistry teacher from Japan, posted a Halloween × Boolean logic meme that I liked enough to save to ~/Downloads. And ever since, I’ve had a yearly reminder...
View Article@isolated(any)
Ahh, @isolated(any). It’s an attribute of contradictions. You might see it a lot, but it’s ok to ignore it. You don’t need to use it, but I think it should be used more. It must always take an...
View ArticleUncertain⟨T⟩
You know what’s wrong with people? They’re too sure of themselves.Better to be wrong and own it than be right with caveats. Hard to build a personal brand out of nuance these days. People are attracted...
View ArticleModel Context Protocol (MCP)
Language Server Protocol (LSP) revolutionized how programming languages integrate with developer tools. Model Context Protocol (MCP) aims to do the same for a new generation of AI tools.But before we...
View ArticleOllama
“Only Apple can do this” Variously attributed to Tim CookApple introduced Apple Intelligence at WWDC 2024. After waiting almost a year for Apple to, in Craig Federighi’s words, “get it right”, its...
View Articleop run
.env files. If you’ve worked on a web application, you’ve probably seen one.While they certainly get the job done, .env files have shortcomings that can create friction in development workflows.We’ve...
View ArticleAs We May Code
Chris Lattner often describes LLVM as a process of lowering.You start at the highest level of abstraction, source code written in a programming language like Swift or Objective-C. That code is parsed...
View ArticleWWDC 2020
Like everything else in 2020, this year’s WWDC had to be a little different if it was going to happen at all.When Apple first announced that the conference would be fully remote, nobody knew what that...
View ArticleLanguage Server Protocol
In October 2018, Apple announced on the Swift.org forums that it was starting work to adopt the Language Server Protocol (LSP) for Swift and C languages.At Apple we are making it a priority to support...
View ArticleSwift Development with Visual Studio Code
Visual Studio Code (VSCode) is a cross-platform text and source code editor from Microsoft. It’s one of the most exciting open source projects today, with regular updates from hundreds of contributors....
View ArticleContact Tracing
An ounce of prevention is worth a pound of cure.Early intervention is among the most effective strategies for treating illnesses. This is true not only for the human body, for society as a whole....
View ArticleCross-Pollination
April is the month when apple trees start to bloom up here in the Pacific Northwest. All across Oregon’s Willamette Valley, from Portland stretching south to Eugene, long-barren branches sprout white,...
View ArticleSwift Logging
In 2002, the United States Congress enacted the Sarbanes–Oxley Act, which introduced broad oversight to corporations in response to accounting scandals at companies likeEnron and MCI WorldCom around...
View ArticleXcode Build Configuration Files
Software development best practicesprescribe strict separation of configuration from code. Yet developers on Apple platforms often struggle to square these guidelines with Xcode’s project-heavy...
View ArticleStatic and Dynamic Callable Types in Swift
Last week, Apple released the first beta of Xcode 11.4, and it’s proving to be one of the most substantial updates in recent memory. XCTest got a huge boost, with numerous quality of life improvements,...
View ArticleRawRepresentable
Programming is about typing. And programming languages are typically judged by how much they make you type — in both senses of the word.Swift is beloved for being able to save us a few keystrokes...
View ArticleAs We May Code
Chris Lattner often describes LLVM as a process of lowering.You start at the highest level of abstraction, source code written in a programming language like Swift or Objective-C. That code is parsed...
View ArticleWWDC 2020
Like everything else in 2020, this year’s WWDC had to be a little different if it was going to happen at all.When Apple first announced that the conference would be fully remote, nobody knew what that...
View ArticleCross-Pollination
April is the month when apple trees start to bloom up here in the Pacific Northwest. All across Oregon’s Willamette Valley, from Portland stretching south to Eugene, long-barren branches sprout white,...
View Article