Skip to content

SwiftUI-MVVMC-Core is a module designed to support building SwiftUI applications using the MVVM-C (Model-View-ViewModel-Coordinator) architecture

Notifications You must be signed in to change notification settings

0xnalou/SwiftUI-MVVMC-Core

Repository files navigation

SwiftUI-MVVMC-Core is a module designed to support building SwiftUI applications using the MVVM-C (Model-View-ViewModel-Coordinator) architecture. The goal of this module is to provide a foundational structure to help you organize your code, extend functionalities, and manage navigation flows in SwiftUI applications.

Key Features

  • Coordinator Pattern: Clear and extensible navigation flow management.
  • Dependency Injection: Integrated dependency injection to minimize direct dependencies between classes.
  • MVVM Core: Organize ViewModel and Model to ensure separation of concerns.
  • Custom Sheet Handling: Fine-tuned .sheet behavior in SwiftUI to mimic .present from UIKit.
  • Modular Architecture: Easily extendable and integrable into large-scale projects.

Installation

Using Swift Package Manager (SPM)

Add the following line to your Package.swift file:

dependencies: [
    .package(url: "https://github.com/0xnalou/SwiftUI-MVVMC-Core.git", from: "1.0.0")
]

Or in Xcode:

  1. Go to File > Add Packages.
  2. Add the repository URL: https://github.com/0xnalou/SwiftUI-MVVMC-Core.git.
  3. Choose the appropriate version and add it to your project.

Using CocoaPod

Comming soon

Contact

If you have any questions or feedback, feel free to reach out to me via email: 0xnalou@gmail.com.

About

SwiftUI-MVVMC-Core is a module designed to support building SwiftUI applications using the MVVM-C (Model-View-ViewModel-Coordinator) architecture

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages