Boomerang is a library for MVVM in Swift applications
Due to the lack of ViewModel concepts in UIKit, Boomerang defines a set of scenarios through protocols and shares a common, reusable way to build screens in the app.
On top of that, it provides a set of extensions for common components like UICollectionView
, UITableView
, UIViewController
so that they can become compatible with a ViewModel.
Boomerang is available through Cocoapods.
Add this to your Podfile
pod 'Boomerang'
To use RxSwift integration, use
pod 'Boomerang/RxSwift`
This project is managed through XcodeGen
To quickly setup your environment, checkout the repo and run make setup
. It will install XcodeGen and create the xcodeproj file
After that, edit the project.yml
file when needed and run make
every time you add a new dependency or file to the project.