New answers tagged

1

I think what you are missing is dependency injection and dependency inversion. You should have something like let keychainService = KeychainService() let apiClient = ApiClient(keychainService: keychainService) let loginService = LoginService(apiClient: apiClient, keychainService: keychainService) let loginViewController = LoginViewController(loginService: ...


Top 50 recent answers are included