目录
目录README.md

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
  • 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 observable 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

关于
275.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号