iOS MicroViewController support library.
The latest version is 0.2.0
github "mercari/Mew"
pod 'Mew', :git => 'https://github.com/mercari/Mew.git'
- Add
ContainerView
in your xib/code. - Add childViewController using
containerView.addArrangedViewController
. - 🎉
- Conform your ViewController classes as
Instantiatable
. - Conform your ViewController classes
Injectable
,Interactable
if need. - Add
ContainerView
in your xib/code. - Add childViewController using
containerView.makeContainer
. - 🎉
- Conform your TableViewController class as
Instantiatable
. - Conform your CellViewController class as
Instantiatable
,Injectable
. TableViewCell<CellViewController>.register
,TableViewCell<CellViewController>.dequeued
support TableView cells.- 🎉
My Presentation. https://www.icloud.com/keynote/0vgTYDXyHQTd0l1FKTiF1jT7g#MicroViewController-en
Supported | |
---|---|
ContainerView | ✅ |
Container | ✅ |
Environment, Testing support | WIP |
UITableView support | ✅ |
UICollectionView support | ✅ |
All Mercari iOS team.
Please read the CLA below carefully before submitting your contribution.
Copyright 2018 Mercari, Inc.
Licensed under the MIT License.