Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 813 Bytes

File metadata and controls

17 lines (13 loc) · 813 Bytes

Modularization Project Example

This repository demonstrates a practical example of modularization in an iOS application using Swift Package Manager (SPM).

The goal of this project is to showcase how to:

  • Structure an iOS app using SPM-based modules
    • Feature-based modules instead of layer-based folders
      • These modules can use any architectural pattern. In this project i've used Clean Architecture + MVVM
    • Maintain clear boundaries between features and shared code
    • Explicit dependencies between modules
    • No implicit cross-module coupling
  • Use SwiftUI for UI development while keeping the UIKit app lifecycle
  • Improve scalability, testability, and maintainability of the codebase

Credit

https://tech.olx.com/modular-architecture-in-ios-c1a1e3bff8e9