The framework that support making MicroViewController.
Switch branches/tags
Nothing to show
Clone or download
Latest commit dd27b41 Oct 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github initial commit Aug 30, 2018
Mew.xcodeproj fix build number Oct 3, 2018
Mew.xcworkspace initial commit Aug 30, 2018
MewExample.xcodeproj swift 4.2 Oct 1, 2018
Sources backward compatibility Oct 28, 2018
Tests Bug fix #9 Oct 28, 2018
.gitignore initial commit Aug 30, 2018
.travis.yml Changed MewTests scheme to Mew Oct 6, 2018
CONTRIBUTING.md initial commit Aug 30, 2018
LICENSE initial commit Aug 30, 2018
Mew.podspec Add CocoaPods support Aug 31, 2018
README.md update readme Sep 15, 2018

README.md

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

  1. Add ContainerView in your xib/code.
  2. Add childViewController using containerView.addArrangedViewController.
  3. 🎉

ContainerView with Container<T>

  1. Conform your ViewController classes as Instantiatable.
  2. Conform your ViewController classes Injectable, Interactable if need.
  3. Add ContainerView in your xib/code.
  4. Add childViewController using containerView.makeContainer.
  5. 🎉

Cells

  1. Conform your TableViewController class as Instantiatable.
  2. Conform your CellViewController class as Instantiatable, Injectable.
  3. TableViewCell<CellViewController>.register, TableViewCell<CellViewController>.dequeued support TableView cells.
  4. 🎉

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.

https://www.mercari.com/cla/

License

Copyright 2018 Mercari, Inc.

Licensed under the MIT License.