iOS MicroViewController support library.
The latest version is 0.5.1
github "yenom/Mew"
pod 'Mew', :git => 'https://github.com/yenom/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
. CellViewController.registerAsTableViewCell
,CellViewController.dequeuedAdTableViewCell
support TableView cells.- 🎉
- Conform your TableViewController class as
Instantiatable
. - Conform your CellView class as
Injectable
. CellView.registerAsTableViewCell
,CellView.dequeuedAdTableViewCell
support TableView cells.- 🎉
My Presentation. https://www.icloud.com/keynote/0vgTYDXyHQTd0l1FKTiF1jT7g#MicroViewController-en
Supported | |
---|---|
ContainerView | ✅ |
Container | ✅ |
Environment, Testing support | ✅ |
UITableView support | ✅ |
UICollectionView support | ✅ |
All Mercari iOS team.
Please read the CLA below carefully before submitting your contribution.
Copyright 2018 Mercari, Inc. Copyright 2019 Yenom, Inc.
Licensed under the MIT License.