MVVMLightSwift

1.0.8

A light weight architecture package. Easy to integrate and use.
WebsoftProfession/MVVMLightSwift

What's New

V1.0.8

2023-08-10T05:30:08Z

Enhancements: Added support for BaseViewController to load controller from Nib

MVVMLightSwift V(1.0.5)

A light weight architecture pattern package. Easy to integrate and use.

MVVMLightSwift works on Model, ViewModel, ViewModelLocator. It can be integrated with SwiftUI & UIKit.

Key Features

  • Automatic view model binding
  • Load view model from cache
  • In-bult isLoading property to show/hide loader on view
  • Compatible with SwiftUI & UIKit
  • Code optimization is easy
  • Unit Testing is easy
  • Clean Architecture Pattern
  • Introduced by iosexample
  • Fast & Smooth app user experience

Apps using MVVMLightSwift

Requirements

Swift 5.x Xcode 12.x iOS 13 & above

Installation

MVVMLightSwift doesn't contain any external dependencies. MVVMLightSwift is available through Swift Package Manager.

Alt text

Documentation

Create Services with BaseService

Alt text

Register Singleton Instance of Services

Alt text

Access singleton instance anywhere of services

Alt text

Get instance anywhere of services

Alt text

Create view model with BaseViewModel

Alt text

load view model from cache with just simple declaration

Alt text

SwiftUI Usage

Create View with BaseView - SwiftUI

Alt text

Access view model instance anywhere in View - SwiftUI

Alt text

Make StateObject & ObservedObject view model instance in View - SwiftUI

Alt text

UIKit Usage

Create viewcontroller with BaseViewController - UIKit

Alt text

Access view model instance anywhere in controller - UIKit

Alt text

Author

WebsoftProfession, websoftprofession@gmail.com

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

  • None
Last updated: Tue Oct 22 2024 11:19:42 GMT-0900 (Hawaii-Aleutian Daylight Time)