Skip to content

Moccasin provides VIPER Xcode templates to bootstrap modules and components of for use with Swinject, Cobra and Gorgon

License

Notifications You must be signed in to change notification settings

locationlabs/Moccasin

Repository files navigation

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

About

Moccasin provides VIPER Xcode templates to bootstrap modules and components of for use with Swinject, Cobra and Gorgon

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages