Apple gives us a modern replacement for the magical format strings we pass to DateFormatters, let's talk about the Verbatim Format Style.
So much power to convert, do math on, and localize the display of your measurement values at your fingertips… yet no one uses it.
I've released a big update for Fucking FormatStyle/Gosh Darned FormatStyle.
A full example of adding all of the bells and whistles of ParseableFormatStyle onto your own types, including AttributedString output.
The other side of the FormatStyle coin, getting our data from strings.
Apple failed to document it, so I built a whole site for it: fuckingformatstyle.com
In your career, do you have a technical problem that you know you've solved multiple times, but it's infrequent enough that the lessons of how to actually implement never seem to stick around in your brain?
It turns out that you have to break some rules to set bearer authentication tokens…