mercari / Mew
Licence: mit
The framework that support making MicroViewController.
Stars: ✭ 462
Programming Languages
swift
15916 projects
Mew (μ)
iOS MicroViewController support library.
Installation
Carthage
The latest version is 0.2.0
github "mercari/Mew"
CocoaPods
pod 'Mew', :git => 'https://github.com/mercari/Mew.git'
Usage
ContainerView with Manual Control
- Add
ContainerView
in your xib/code. - Add childViewController using
containerView.addArrangedViewController
. - 🎉
Container<T>
ContainerView with - 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
. - 🎉
Cells
- Conform your TableViewController class as
Instantiatable
. - Conform your CellViewController class as
Instantiatable
,Injectable
. -
TableViewCell<CellViewController>.register
,TableViewCell<CellViewController>.dequeued
support TableView cells. - 🎉
Reference
My Presentation. https://www.icloud.com/keynote/0vgTYDXyHQTd0l1FKTiF1jT7g#MicroViewController-en
Supporting
Supported | |
---|---|
ContainerView | ✅ |
Container | ✅ |
Environment, Testing support | WIP |
UITableView support | ✅ |
UICollectionView support | ✅ |
Committers
All Mercari iOS team.
Contribution
Please read the CLA below carefully before submitting your contribution.
License
Copyright 2018 Mercari, Inc.
Licensed under the MIT License.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].