Using Small Protocols to Vend App-Wide Dependencies in Swift – James Dempsey
Most apps have some global state or services that need to be accessed at various places in code. In this session, we begin with singletons, and work through design iterations arriving at an approach using protocols and existentials in Swift that make these global dependencies more explicit, while making subsystems that rely on the them easier to test and evolve.
About James Dempsey:
James Dempsey is a fifteen-year Apple veteran gone indie. At Apple, he was an evangelist, technical trainer, curriculum manager, and software engineer, working on Aperture, iOS, and macOS releases Leopard through Lion. James recently set back out on his own after working to build a cloud computer for humankind’s information at Upthere. He is also the frontman of James Dempsey and the Breakpoints, a band that performs humorous original songs about technical topics. Their debut album Backtrace topped the iTunes comedy charts in the US, UK, and Canada, and reached #5 on the Billboard comedy album chart.