Mew

by mercari

mercari /Mew

The framework that support making MicroViewController.

459 Stars 23 Forks Last release: almost 2 years ago (0.2.2) MIT License 30 Commits 4 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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

  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.register
    ,
    TableViewCell.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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.