Swift iOS Development
You Can Mutate an Object Sitting Inside a Set. Swift Won't Stop You. It Should Terrify You.
Swift's Set and Dictionary assume a value's hash never changes after you insert it. Mutate a class instance that's already stored in one, and the collection silently corrupts — contains() returns false for an object you can see right there when you iterate. Here's why, and how to actually avoid it.
7 min read
Swift Evolution Swift
InlineArray Just Got Hashable. Here's Why That Took a Whole Proposal.
SE-0543 was accepted on August 18, 2026, giving InlineArray a Hashable conformance. It sounds like a one-line addition — it wasn't. Here's what InlineArray actually is, why Hashable needed its own proposal, and where a fixed-size, stack-allocated array earns its keep over a regular Array.
6 min read