1 post found
Interpolating an optional into a Swift string produces "Optional(42)" or "nil", not the value. Here's how that ends up in URLs, cache keys, file names and analytics events, why Xcode's String(describing:) fix-it silences the warning without fixing the bug, and how to make optionals in strings impossible to ship.