[TDD] Why we need Dependency Graph before creating ProjectWhy Clean Architecture asking us to create Dependency Graph or Architecture Diagram first before creating project. As you see on the…3d ago3d ago
[TDD] Writing Unit Tests for a ViewModelLet’s say we have a UserViewModel that interacts with AuthManager and SessionManager. Here's a simple example of the ViewModel that you…Feb 7Feb 7
[TDD] Integrating AuthManager and SessionManagerSince we are following a dependency injection pattern, both AuthManager and SessionManager will depend on a storage solution for user data…Feb 6Feb 6
[TDD] SessionManager Without Knowing the Storage TypeInstead of hardcoding UserDefaults or Keychain, we create a protocol that defines session storage behavior.Feb 6Feb 6
[TDD] AuthManager When Sign-in Service Is Not DecidedInstead of writing logic directly inside AuthManager, we abstract it using AuthServiceProtocol.Feb 6Feb 6
How to Enforce Dependency Rules with SwiftLint Custom RulesDomain Logic Should Be Framework-AgnosticDec 2, 2024Dec 2, 2024
Leveraging Swift Package Manager to Maintain Clean Architecture Layers in iOS Development — Part 4DataLayer ImplementationNov 27, 2024Nov 27, 2024
Leveraging Swift Package Manager to Maintain Clean Architecture Layers in iOS Development — Part 3PresentationLayer ImplementationNov 27, 2024Nov 27, 2024
Leveraging Swift Package Manager to Maintain Clean Architecture Layers in iOS Development — Part 2DomainLayer ImplementationNov 26, 2024Nov 26, 2024
Leveraging Swift Package Manager to Maintain Clean Architecture Layers in iOS Development — Part 1Maintaining clean and scalable architecture is crucial for ensuring long-term code maintainability and reducing technical debt. One common…Nov 26, 2024Nov 26, 2024