Service Locator Anti-Pattern in iOS Development

You are staring at a view controller or a view model. Its initializer takes eight different dependencies — a network client, an analytics…