Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Type-safe Functional Formatting in Swift

Type-safe Functional Formatting in Swift

Representing data as text is a fundamental requirement of our everyday lives as engineers. Let's explore the various ways strings are typically formatted in Swift and Cocoa, where they fall short, and what we can do to build a more modular, compile-time-confident way of formatting our data.

Stephen Celis

June 28, 2016
Tweet

More Decks by Stephen Celis

Other Decks in Programming

Transcript

  1. !

  2. %d %D %u %x %X %o %O %f %e %E

    %g %G %c %C %s %S %p %a %A %F
  3. %@

  4. ! !