Skip to content

toandk/ASMvvm

Repository files navigation

ASMvvm

This project is inspired by https://github.com/duyduong/DTMvvm

CI Status Version License Platform

ASMvvm is a library for who wants to start writing iOS application using MVVM (Model-View-ViewModel), written in Swift.

Features

  • Base classes for ASViewController, ASView, ASCellNode and ASCollectionNode
  • Base classes for ViewModel, ListViewModel and CellViewModel
  • Services injection

Requirements

  • iOS 10.0+
  • Xcode 11.0+
  • Swift 5.0+

Dependencies

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:

Installation

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

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

To be updated

License

ASMvvm is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published