Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.42 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.42 KB

Moccasin

Moccasin leverages Xcode templates to scaffold VIPER-based modules, to be used with Swinject, Cobra and Gorgon.

VIPER is an architecture that divides an applications logic into distinct layers of responsibility which makes it easier to isolate dependencies and test interactions. Moccasin templates provide the skeleton implementation of VIPER that leverages dependency injection via Swinject, application feature routing and configuration via Cobra, and application event delegation via Gorgon.

Features

  • Wire up VIPER modules via dependency injection in 1 click
  • Provides uniform base implementations for all components and services
  • Shared base coding styles and naming conventions

See Boa, a sample app written in Swift, for details.

Requirements

  • iOS8+
  • Xcode 8+

Installation

Simply run install-templates shell script.

Documentation

Moccasin leverages Xcode templates to scaffold VIPER modules, consisting of the following types: View, Interactor, Presenter, Router, Styler, Assembler, Feature and Storyboard. To see how these are used, see Boa sample application.

TODO

  • Provide contribution guidelines