This project is inspired by https://github.com/duyduong/DTMvvm
ASMvvm is a library for who wants to start writing iOS application using MVVM (Model-View-ViewModel), written in Swift.
- Base classes for ASViewController, ASView, ASCellNode and ASCollectionNode
- Base classes for ViewModel, ListViewModel and CellViewModel
- Services injection
- iOS 10.0+
- Xcode 11.0+
- Swift 5.0+
The library heavily depends on RxSwift for data-binding and events. For who does not familiar with Reactive Programming, I suggest to start reading about it first. Beside that, here are the list of dependencies:
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate ASMvvm into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'ASMvvm'
end
Then, run the following command:
$ pod install
To run the example project, clone the repo, and run pod install
from the Example directory first.
To be updated
ASMvvm is available under the MIT license. See the LICENSE file for more info.