Next Door / Sessions / James Dempsey

  • Speaker photo

    Using Small Protocols to Vend App-Wide Dependencies in Swift

    Many 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 Swift that make these global dependencies more explicit, while making subsystems that rely on the them more easily tested and evolved.