The Swift Compiler Features the Core Team Doesn't Want You to Know About
Michael Hulet
16:00-16:45, Wednesday, 21st May 2025
Swift is known for being a highly-opinionated language, and for good reason. It keeps us totally safe from a litany of common mistakes that cause serious – often fatal – errors and vulnerabilities in software created with other languages. However, there are times when its restrictions can feel a little bit too restrictive. The good news is that there’s likely a language feature to help deal with those cases, but you need to be very careful in using them
These features are often implemented as Underscored Attributes, which the Swift Core Team keeps around primarily for their own use cases, but they remain intentionally exposed to public code. We just simply don’t usually talk about them. For example, did you know that swizzling isn’t just an esoteric capability of the Objective-C runtime?
In this talk, I’ll go over several of the most useful underscored attributes and talk about what they do, why they exist, the problem(s) they solve, and when and how to use them
Michael Hulet
Michael Hulet is a freelance Senior iOS Engineer currently living in The Hague, Netherlands. He's been shipping apps for the better part of 15 years, for companies as large as Fortune 500s and as small as just himself. In his spare time, he likes to watch hockey and travel